From 85fd5d35cc42717f438bcbe3719acde7d6087101 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 19 Apr 2026 21:31:45 +0300 Subject: [PATCH] git-switch: add example (#22126) --- pages/common/git-switch.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/git-switch.md b/pages/common/git-switch.md index d038b0bd4f..46987272b4 100644 --- a/pages/common/git-switch.md +++ b/pages/common/git-switch.md @@ -31,3 +31,7 @@ - Switch to a tag or commit: `git switch {{[-d|--detach]}} {{tag|commit}}` + +- Switch to another remote's branch: + +`git switch {{[-t|--track]}} {{remote_name}}/{{branch}}`