diff options
author | Case Duckworth | 2023-05-28 22:19:38 -0500 |
---|---|---|
committer | Case Duckworth | 2023-05-28 22:19:38 -0500 |
commit | 424c41dc5fbb50953b21203ee40681ec75ef71c9 (patch) | |
tree | b0f50e14001bf74232b984a84d78eb24f57c87f7 | |
parent | Initial commit (diff) | |
download | git-init-remote-424c41dc5fbb50953b21203ee40681ec75ef71c9.tar.gz git-init-remote-424c41dc5fbb50953b21203ee40681ec75ef71c9.zip |
Correct description
-rwxr-xr-x | git-init-remote | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-init-remote b/git-init-remote index 4d8cb29..5a07bd5 100755 --- a/git-init-remote +++ b/git-init-remote | |||
@@ -20,8 +20,8 @@ ssh "$GITREMOTE" git init --bare "$remote" | |||
20 | 20 | ||
21 | # Add a description | 21 | # Add a description |
22 | echo -n "Repo description: "; read | 22 | echo -n "Repo description: "; read |
23 | echo "ssh \"$GITREMOTE\" sh -c \"echo '$REPLY' > '$remote'\"" | 23 | echo "ssh \"$GITREMOTE\" sh -c \"echo '$REPLY' > '$remote/description'\"" |
24 | ssh "$GITREMOTE" sh -c "echo '$REPLY' > '$remote'" | 24 | ssh "$GITREMOTE" sh -c "echo '$REPLY' > '$remote/description'" |
25 | 25 | ||
26 | # Add post-update-hook | 26 | # Add post-update-hook |
27 | echo "scp post-update.hook \"$GITREMOTE:$remote/hooks/post-update\"" | 27 | echo "scp post-update.hook \"$GITREMOTE:$remote/hooks/post-update\"" |