mirror of https://github.com/CrimsonTome/tldr.git
git-switch: switch to previous branch (#3784)
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}}`
|
||||
|
|
Loading…
Reference in New Issue