summaryrefslogtreecommitdiff
path: root/push.sh
diff options
context:
space:
mode:
Diffstat (limited to 'push.sh')
-rwxr-xr-xpush.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/push.sh b/push.sh
index bcf61df..5f37fb9 100755
--- a/push.sh
+++ b/push.sh
@@ -10,7 +10,7 @@ function status {
cd "$1"
STR=$(git status|grep "Your branch is ahead")
if [[ -n "${STR}" ]]; then
- echo "Pushing $2"
+ echo "Pushing $2 ($(git symbolic-ref --short -q HEAD))"
git push $CMD
fi
cd "$DIR"