git-switch: switch to previous branch (#3784)

client-spec/clarity
Ryan Olson 2020-01-23 03:27:19 -07:00 committed by Zlatan Vasović
parent 3b017c80e7
commit 5eb53e4a7a
1 changed files with 4 additions and 0 deletions

View File

@ -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}}`