summaryrefslogtreecommitdiff
path: root/bin/git-amend
diff options
context:
space:
mode:
Diffstat (limited to 'bin/git-amend')
-rwxr-xr-xbin/git-amend4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/git-amend b/bin/git-amend
new file mode 100755
index 0000000..04430a6
--- /dev/null
+++ b/bin/git-amend
@@ -0,0 +1,4 @@
+#!/bin/bash -e
+
+# Replace the most recent commit: `git amend [commit options]`.
+exec git commit --amend --no-edit "$@"