Add tricks to go back to previous branch (#648)
This commit is contained in:
parent
3dc8b2abc9
commit
60de6e9c49
|
@ -28,6 +28,9 @@ category: Git
|
|||
# delete remote branch
|
||||
git push origin :$branchname
|
||||
|
||||
# go back to previous branch
|
||||
git checkout -
|
||||
|
||||
## Collaboration
|
||||
|
||||
# Rebase your changes on top of the remote master
|
||||
|
|
Loading…
Reference in New Issue