aboutsummaryrefslogtreecommitdiff
path: root/git.cheat
diff options
context:
space:
mode:
Diffstat (limited to 'git.cheat')
-rw-r--r--git.cheat3
1 files changed, 3 insertions, 0 deletions
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 <commit_id>
+# Rebase
+git rebase -i <commit_id>
+
$ commit_id: git log --pretty=reference --- --column 1 --delimiter '\s'