mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-09 09:35:43 +02:00
git-switch: add tag example (#17338)
This commit is contained in:
parent
c8d7120298
commit
2330572093
1 changed files with 4 additions and 0 deletions
|
@ -27,3 +27,7 @@
|
||||||
- Switch to a branch and automatically merge the current branch and any uncommitted changes into it:
|
- Switch to a branch and automatically merge the current branch and any uncommitted changes into it:
|
||||||
|
|
||||||
`git switch {{[-m|--merge]}} {{branch_name}}`
|
`git switch {{[-m|--merge]}} {{branch_name}}`
|
||||||
|
|
||||||
|
- Switch to a tag:
|
||||||
|
|
||||||
|
`git switch {{[-d|--detach]}} {{tag}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue