diff options
-rwxr-xr-x | git-init-remote | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/git-init-remote b/git-init-remote index 5a07bd5..a934c1f 100755 --- a/git-init-remote +++ b/git-init-remote | |||
@@ -19,9 +19,8 @@ echo "ssh \"$GITREMOTE\" git init --bare \"$remote\"" | |||
19 | ssh "$GITREMOTE" git init --bare "$remote" | 19 | ssh "$GITREMOTE" git init --bare "$remote" |
20 | 20 | ||
21 | # Add a description | 21 | # Add a description |
22 | echo -n "Repo description: "; read | 22 | echo "ssh \"$GITREMOTE\" ed \"$remote/description\"" |
23 | echo "ssh \"$GITREMOTE\" sh -c \"echo '$REPLY' > '$remote/description'\"" | 23 | ssh "$GITREMOTE" ed "$remote/description" |
24 | ssh "$GITREMOTE" sh -c "echo '$REPLY' > '$remote/description'" | ||
25 | 24 | ||
26 | # Add post-update-hook | 25 | # Add post-update-hook |
27 | echo "scp post-update.hook \"$GITREMOTE:$remote/hooks/post-update\"" | 26 | echo "scp post-update.hook \"$GITREMOTE:$remote/hooks/post-update\"" |