From e87ff563db7e3827e9fa34f3c8c841bc831d225a Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 27 Jun 2025 15:31:18 +0300 Subject: [PATCH] legit: update command (#16947) --- pages/linux/legit.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/linux/legit.md b/pages/linux/legit.md index 4450a2b4a0..d6d0e9b8b3 100644 --- a/pages/linux/legit.md +++ b/pages/linux/legit.md @@ -5,7 +5,7 @@ - Switch to a specified branch, stashing and restoring unstaged changes: -`git switch {{target_branch}}` +`git sw {{target_branch}}` - Synchronize current branch, automatically merging or rebasing, and stashing and unstashing: @@ -25,4 +25,4 @@ - Remove the last commit from the history: -`git undo {{--hard}}` +`git undo --hard`