git-switch: add tag example (#17338)

This commit is contained in:
Managor
2025-07-24 08:20:35 +03:00
committed by GitHub
parent c8d7120298
commit 2330572093
+4
View File
@@ -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}}`