Merge pull request #90 from StephenCoady/git-additions
some git collaboration commands
This commit is contained in:
commit
d44713fb92
|
@ -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
|
||||
----------
|
||||
|
|
Loading…
Reference in New Issue