From ef9a68cc014c8a32ec7dd466a69978d77c45add3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 10 Sep 2015 21:50:01 +0300 Subject: Show branch name in all scripts. --- push.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'push.sh') 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" -- cgit v1.2.3-60-g2f50