mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-19 01:43:18 +08:00
git-switch: add tag example (#17338)
This commit is contained in:
@@ -27,3 +27,7 @@
|
||||
- Switch to a branch and automatically merge the current branch and any uncommitted changes into it:
|
||||
|
||||
`git switch {{[-m|--merge]}} {{branch_name}}`
|
||||
|
||||
- Switch to a tag:
|
||||
|
||||
`git switch {{[-d|--detach]}} {{tag}}`
|
||||
|
||||
Reference in New Issue
Block a user