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
fi
if [ "$1" = "origin" ] ; then
git push $PUSHALL $PUSHFORCE origin
git push --tags $PUSHALL $PUSHFORCE origin
REPO="$1"
shift
git push $PUSHALL $PUSHFORCE $REPO $@
git push --tags $PUSHALL $PUSHFORCE $REPO $@
exit
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