diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-07-13 20:31:21 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-07-13 20:31:21 +0100 |
commit | 3d7940f13c8584022be86b01f46f8bc55b6bb1cd (patch) | |
tree | bbd380f097e8c327184e98a13d1492113c84656c | |
parent | 478e48964d0f629bc9a6e7e1e7d189218f2efbd4 (diff) | |
download | dotfiles-3d7940f13c8584022be86b01f46f8bc55b6bb1cd.tar.gz dotfiles-3d7940f13c8584022be86b01f46f8bc55b6bb1cd.tar.bz2 dotfiles-3d7940f13c8584022be86b01f46f8bc55b6bb1cd.zip |
(Scripts>create_repo)~use git@git.aryadevchavali.com instead of root
Removes the need to change permissions for those directories.
-rwxr-xr-x | Scripts/.local/scripts/create_repo | 2 |
1 files changed, 1 insertions, 1 deletions
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 |