diff --git a/pages/common/git-switch.md b/pages/common/git-switch.md index 61151a79f1..d038b0bd4f 100644 --- a/pages/common/git-switch.md +++ b/pages/common/git-switch.md @@ -28,6 +28,6 @@ `git switch {{[-m|--merge]}} {{branch_name}}` -- Switch to a tag: +- Switch to a tag or commit: -`git switch {{[-d|--detach]}} {{tag}}` +`git switch {{[-d|--detach]}} {{tag|commit}}`