From 3d7940f13c8584022be86b01f46f8bc55b6bb1cd Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 13 Jul 2023 20:31:21 +0100 Subject: (Scripts>create_repo)~use git@git.aryadevchavali.com instead of root Removes the need to change permissions for those directories. --- Scripts/.local/scripts/create_repo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Scripts') diff --git a/Scripts/.local/scripts/create_repo b/Scripts/.local/scripts/create_repo index d1a3dfa..1191c4c 100755 --- a/Scripts/.local/scripts/create_repo +++ b/Scripts/.local/scripts/create_repo @@ -1,4 +1,4 @@ #!/usr/bin/env sh -ssh root@aryadevchavali.com "mkdir -p /git/$1.git; chown git /git/$1.git; chgrp git /git/$1.git; git init --bare /git/$1.git"; +ssh git@git.aryadevchavali.com "mkdir -p /git/$1.git; git init --bare /git/$1.git"; git clone git@git.aryadevchavali.com:/git/$1 -- cgit v1.2.3-13-gbd6f