diff options
-rwxr-xr-x | localgit-remote-init-push | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/localgit-remote-init-push b/localgit-remote-init-push index f770a3b..7204133 100755 --- a/localgit-remote-init-push +++ b/localgit-remote-init-push @@ -66,7 +66,7 @@ esac SSH_CONN=${3:-$GIT_HOST} GIT_REMOTE=${4:-origin} -[ origin != "$GIT_ORIGIN" ] || ORIGIN_IS_DEFAULT=yes +[ origin != "$GIT_REMOTE" ] || ORIGIN_IS_DEFAULT=yes [ -z "$GIT_CONN" ] || ssh "$SSH_CONN" git init --bare --shared "$BASEPATH"/"$PROJECT".git git remote add "$GIT_REMOTE" "$SSH_CONN":"$BASEPATH"/"$PROJECT".git |