From ce91cd42d8804cbc52029a2d064f9960a83927b2 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 12 Feb 2022 18:02:24 +0100 Subject: fix: add git@ before uri --- bin/stagit-new-repo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/stagit-new-repo b/bin/stagit-new-repo index 9c79765..9a9f923 100755 --- a/bin/stagit-new-repo +++ b/bin/stagit-new-repo @@ -21,7 +21,7 @@ echo "Initializing git repository..." git init --bare "$srv/$repo.git" cp "$/usr/local/share/post-receive" "$srv/$repo.git/hooks/post-receive" chmod u+x "$srv/$repo.git/hooks/post-receive" -echo "$uri:$repo.git" > "$srv/$repo.git/url" +echo "git@$uri:$repo.git" > "$srv/$repo.git/url" echo "$owner" > "$srv/$repo.git/owner" echo "$desc" > "$srv/$repo.git/description" chown -R git:git "$srv/$repo.git" -- cgit v1.2.3-70-g09d2