summaryrefslogtreecommitdiff
path: root/push.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-10 21:50:01 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-10 21:50:01 +0300
commitef9a68cc014c8a32ec7dd466a69978d77c45add3 (patch)
treeeaf1196cd81508d87276a6deb0209876fb8dc8c5 /push.sh
parent85b0c87088ac499f96adce92c014b92e729c27bb (diff)
downloadall-ef9a68cc014c8a32ec7dd466a69978d77c45add3.tar.gz
all-ef9a68cc014c8a32ec7dd466a69978d77c45add3.tar.bz2
all-ef9a68cc014c8a32ec7dd466a69978d77c45add3.tar.xz
all-ef9a68cc014c8a32ec7dd466a69978d77c45add3.zip
Show branch name in all scripts.halloween2015
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"