We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b8b630 commit efee641Copy full SHA for efee641
commit
@@ -12,7 +12,7 @@ then
12
IGNORED_BRANCHES=( ${IGNORED_BRANCHES[@]} ${BRANCHES[@]} )
13
fi
14
15
-CURRENT_BRANCH_CMD="git rev-parse --abbrev-ref HEAD"
+CURRENT_BRANCH_CMD="git symbolic-ref --short HEAD"
16
CURRENT_BRANCH=$(eval $CURRENT_BRANCH_CMD)
17
18
COMMIT_WITH_BRANCH="git commit -m \"$CURRENT_BRANCH: $1\""
0 commit comments