diff options
Diffstat (limited to 'create-repo')
-rwxr-xr-x | create-repo | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/create-repo b/create-repo index 2883b58..bf37d94 100755 --- a/create-repo +++ b/create-repo @@ -3,4 +3,6 @@ if [ -n "$1" ]; then echo "Usage: create-repo <reponame>" exit 1 fi -sudo -u git git init --bare "$1" +sudo -u git git init --bare ~git/"$1" +# uncomment to add each new repo to a specific user +#sudo -u git sh -c "echo $1 > ~git/user.listrw" |