aboutsummaryrefslogtreecommitdiff
path: root/git.cheat
diff options
context:
space:
mode:
Diffstat (limited to 'git.cheat')
-rw-r--r--git.cheat6
1 files changed, 6 insertions, 0 deletions
diff --git a/git.cheat b/git.cheat
new file mode 100644
index 0000000..82e27a7
--- /dev/null
+++ b/git.cheat
@@ -0,0 +1,6 @@
+% git
+
+# Fixup commit
+git commit --fixup <commit_id>
+
+$ commit_id: git log --pretty=reference --- --column 1 --delimiter '\s'