summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocalgit-remote-init-push2
1 files changed, 1 insertions, 1 deletions
diff --git a/localgit-remote-init-push b/localgit-remote-init-push
index 6234cbe..5d8efd5 100755
--- a/localgit-remote-init-push
+++ b/localgit-remote-init-push
@@ -70,4 +70,4 @@ GIT_REMOTE=${4:-origin}
[ -z "$SSH_CONN" ] || ssh "$SSH_CONN" git init --bare --shared "$BASEPATH"/"$PROJECT".git
git remote add "$GIT_REMOTE" "$SSH_CONN":"$BASEPATH"/"$PROJECT".git
-git push ${ORIGIN_IS_DEFAULT:+--set-upstream "$GIT_REMOTE"} master
+git push ${ORIGIN_IS_DEFAULT:+--set-upstream} "$GIT_REMOTE" master