From 32afd02ec293c96f1d01b58e2f98dd6985675b36 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 26 Mar 2026 05:52:31 +0200 Subject: [PATCH] git-switch: add commit checkout (#21700) --- pages/common/git-switch.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}}`