From a4139e1b5648718caecbe8233de2c22b253cef12 Mon Sep 17 00:00:00 2001 From: Alexey Alekhin Date: Fri, 8 Nov 2013 15:36:05 +0100 Subject: [PATCH] Added shortcut for pushing tags --- gtm | 1 + 1 file changed, 1 insertion(+) diff --git a/gtm b/gtm index df814c0..274f41e 100755 --- a/gtm +++ b/gtm @@ -691,6 +691,7 @@ Pushes timetracker notes and then current branch (setting upstream) git push failed $? "Some issues with pushing timetracker notes.$trst May be you should first run '`blue 'git pull'`' (+ '`blue 'gtm merge'`' if needed)" git push -u origin $(current_branch) + [ "$1" == "--tag" ] || [ "$1" == "-t" ] && git push --tag } function gtm_steal() {