Merge pull request #90 from StephenCoady/git-additions

some git collaboration commands
This commit is contained in:
Rico Sta. Cruz 2017-10-21 03:53:56 +08:00 committed by GitHub
commit d44713fb92
1 changed files with 9 additions and 0 deletions

View File

@ -27,6 +27,15 @@ category: Git
# delete remote branch
git push origin :$branchname
## Collaboration
# Rebase your changes on top of the remote master
git pull --rebase upstream master
# Squash multiple commits into one for a cleaner git log
# (on the following screen change the word pick to either 'f' or 's')
git rebase -i $commit_ref
Submodules
----------