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
commit648afbb3c2aad1d352e4795bfa2f068b9191eb9a (patch)
treeea1e65f1f13ac9af2efc79d4615951858084768f /git-rewrite-branch--appendid
parente23c18ddccd2114750493ed3d7f2012177f0c044 (diff)
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}"