summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-04-18 12:48:28 +0200
committerJonas Smedegaard <dr@jones.dk>2017-04-18 12:48:28 +0200
commit269bc4af0abab2c51eb2b42665a3133a2609277b (patch)
tree9a4de8bee1e3891775d697650ad0daa787386d76
parent318cc3297c32db724115609632ddc582d7bd16b5 (diff)
Fix typo.
-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 7204133..6234cbe 100755
--- a/localgit-remote-init-push
+++ b/localgit-remote-init-push
@@ -68,6 +68,6 @@ GIT_REMOTE=${4:-origin}
[ origin != "$GIT_REMOTE" ] || ORIGIN_IS_DEFAULT=yes
-[ -z "$GIT_CONN" ] || ssh "$SSH_CONN" git init --bare --shared "$BASEPATH"/"$PROJECT".git
+[ -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