mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-17 23:15:42 +02:00
git-checkout: add example to go to previous branch (#3319)
This commit is contained in:
parent
b751a31f72
commit
97bc3a92f9
1 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,10 @@
|
||||||
|
|
||||||
`git checkout {{branch_name}}`
|
`git checkout {{branch_name}}`
|
||||||
|
|
||||||
|
- Switch to the previously checked out branch:
|
||||||
|
|
||||||
|
`git checkout -`
|
||||||
|
|
||||||
- Switch to an existing remote branch:
|
- Switch to an existing remote branch:
|
||||||
|
|
||||||
`git checkout --track {{remote_name}}/{{branch_name}}`
|
`git checkout --track {{remote_name}}/{{branch_name}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue