-
-
Notifications
You must be signed in to change notification settings - Fork 269
git commands for daily usage
slodki edited this page Aug 10, 2017
·
11 revisions
git clone | copy a git repository | book | git clone |
---|---|---|---|
Git Book: Rebasing | git rebase |
git clone https://github.com/moneymanagerex/moneymanagerex mmex
git submodule update --init
git reset --hard
git reset --mixed
git log --all --pretty=format:"%h %cd %s (%an)" --since='7 days ago'
git checkout -b vomikan_dev
git push origin vomikan_dev
git checkout master
git branch -D vomikan_dev
git push origin --delete vomikan_dev
cd ChartNew.js git checkout master git pull origin master Now go back to the main project, stage the submodule and commit that:
cd ..
git add ChartNew.js
git commit -m "Updating the submodule 'ChartNew.js' to the latest version"
Now push your new version of the main project:
git push origin master
git tag -l
git tag -a v1.2.8 -m "ver. 1.2.8 release"
git push origin v1.2.8