From 6948953778df46a9347da8ddc4140157e62a17a1 Mon Sep 17 00:00:00 2001 From: CodeDevMLH <145071728+CodeDevMLH@users.noreply.github.com> Date: Tue, 3 Feb 2026 23:04:58 +0100 Subject: [PATCH] Add optional stash commands to Git rebase instructions --- git_cheat_sheet.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git_cheat_sheet.md b/git_cheat_sheet.md index 7c3fa17..1cb44c0 100644 --- a/git_cheat_sheet.md +++ b/git_cheat_sheet.md @@ -26,9 +26,11 @@ git merge main Setzt deine Commits neu auf die Spitze eines anderen Branches. Die Commit-IDs werden dabei neu geschrieben. ```bash +git stash # (optional) Änderungen parken. git checkout dev git fetch origin git rebase origin/main +git stash pop # (optional) Änderungen zurückholen. ``` | Details | |