aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcreate-repo2
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"