diff --git a/pages/common/git-switch.md b/pages/common/git-switch.md index 946c5ad6ba..95319c8657 100644 --- a/pages/common/git-switch.md +++ b/pages/common/git-switch.md @@ -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}}`