summaryrefslogtreecommitdiff
path: root/git-rewrite-branch--appendid
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-26 15:06:22 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-26 15:06:22 -0500
commita6f4165f1dcd27e059195faf4c3c748e98e1f1d9 (patch)
tree7cf47789ae33de6061979215a7af2ca466bd4c13 /git-rewrite-branch--appendid
write git-rewrite-branch
Diffstat (limited to 'git-rewrite-branch--appendid')
-rwxr-xr-xgit-rewrite-branch--appendid4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-rewrite-branch--appendid b/git-rewrite-branch--appendid
new file mode 100755
index 0000000..e44180a
--- /dev/null
+++ b/git-rewrite-branch--appendid
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+tag=$1
+sed '$a'"${tag}: ${GIT_COMMIT}"