(Scripts>create_repo)~use git@git.aryadevchavali.com instead of root
Removes the need to change permissions for those directories.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user