diff --git a/push.sh b/push.sh index bce19bfa..947cad6b 100755 --- a/push.sh +++ b/push.sh @@ -7,7 +7,7 @@ git status #git commit -m "${com}" #echo $(git branch) git branch -gitBranch=$(git branch) +gitBranch=$(git symbolic-ref --short HEAD) read -p "Is this the correct branch (y/n)?" CONT if [ "$CONT" = "y" ]; then