first two

This commit is contained in:
Stephen Coady 2017-10-13 23:36:53 +01:00
parent 39c079f5dd
commit 1f7c49d270
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
----------