From 7e028dd8969fd08092ec90af86a9d3d6c19dc39f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 18 Mar 2011 09:41:26 +0200 Subject: Don't hardcode branch name in push.sh Doing just ./push.sh should push to the branch being tracked. To get the old behavior, do ./push.sh master. --- git/push.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git') diff --git a/git/push.sh b/git/push.sh index 83fadd1..ab447b8 100755 --- a/git/push.sh +++ b/git/push.sh @@ -10,6 +10,6 @@ wd=`pwd` for i in $all_modules; do echo "push $i" 1>&2 cd $i - git push --tags origin master + git push --tags origin $* cd $wd done -- cgit v1.1