diff --git a/git-update b/git-update index 4c42b2a..077fe3e 100755 --- a/git-update +++ b/git-update @@ -3,7 +3,7 @@ set -e # bail on errors function current_branch() { - git rev-parse --abbrev-ref HEAD + git rev-parse --abbrev-ref HEAD | sed -e 's/^heads\///' } ORIG_BRANCH=$(current_branch)