Commit 66fd3c63 authored by Vitaly Lipatov's avatar Vitaly Lipatov

gpush: add support for target

parent cf9edae5
...@@ -46,8 +46,10 @@ if [ -z "$CURRENTBRANCH" ] ; then ...@@ -46,8 +46,10 @@ if [ -z "$CURRENTBRANCH" ] ; then
fi fi
if [ "$1" = "origin" ] ; then if [ "$1" = "origin" ] ; then
git push $PUSHALL $PUSHFORCE origin REPO="$1"
git push --tags $PUSHALL $PUSHFORCE origin shift
git push $PUSHALL $PUSHFORCE $REPO $@
git push --tags $PUSHALL $PUSHFORCE $REPO $@
exit exit
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment