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

This commit is contained in:
Ryan Olson
2020-01-23 03:27:19 -07:00
committed by Zlatan Vasović
parent 3b017c80e7
commit 5eb53e4a7a

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