From 1ac752cd333446d9fac4f577542e888604112a1e Mon Sep 17 00:00:00 2001 From: vg Date: Tue, 21 May 2019 21:45:53 +0200 Subject: add --shared option for multiple users in same group --- create-repo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'create-repo') 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 " 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" -- cgit v1.2.3