diff options
author | vg <vgm+dev@devys.org> | 2019-05-21 21:45:53 +0200 |
---|---|---|
committer | vg <vgm+dev@devys.org> | 2019-05-21 21:45:53 +0200 |
commit | 1ac752cd333446d9fac4f577542e888604112a1e (patch) | |
tree | 41150fa799f8cf1a09a37e2bf12639011d416775 /create-repo | |
parent | 4f38f2607bb78c9dbb5f2d8174ed8f615e019be3 (diff) | |
download | ssh-git-only-1ac752cd333446d9fac4f577542e888604112a1e.tar.gz ssh-git-only-1ac752cd333446d9fac4f577542e888604112a1e.tar.bz2 ssh-git-only-1ac752cd333446d9fac4f577542e888604112a1e.zip |
add --shared option for multiple users in same group
Diffstat (limited to 'create-repo')
-rwxr-xr-x | create-repo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/create-repo b/create-repo index ff46ad7..33b30ab 100755 --- a/create-repo +++ b/create-repo @@ -3,6 +3,6 @@ if [ -n "$1" ]; then echo "Usage: create-repo <reponame>" exit 1 fi -sudo -u git git init --bare ~git/"$1" +sudo -u git git init --bare --shared ~git/"$1" # uncomment to add each new repo to a specific user #sudo -u git sh -c "echo $1 >> ~git/user.listrw" |