git-switch: switch to previous branch (#3784)
This commit is contained in:

committed by
Zlatan Vasović

parent
3b017c80e7
commit
5eb53e4a7a
@@ -16,6 +16,10 @@
|
||||
|
||||
`git switch --create {{branch_name}} {{commit}}`
|
||||
|
||||
- Switch to the previous branch:
|
||||
|
||||
`git switch -`
|
||||
|
||||
- Switch to a branch and update all submodules to match:
|
||||
|
||||
`git switch --recurse-submodules {{branch_name}}`
|
||||
|
Reference in New Issue
Block a user