From 96cdabea475bacda9a24f24ec88427d13f976806 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Thu, 19 Oct 2023 07:59:18 +0800 Subject: Add rebase cheatsheet --- git.cheat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git.cheat b/git.cheat index 82e27a7..07c288f 100644 --- a/git.cheat +++ b/git.cheat @@ -3,4 +3,7 @@ # Fixup commit git commit --fixup +# Rebase +git rebase -i + $ commit_id: git log --pretty=reference --- --column 1 --delimiter '\s' -- cgit v1.2.3