aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvg <vg@devys.org>2018-02-02 10:53:18 +0100
committervg <vg@devys.org>2018-02-02 10:53:18 +0100
commit1c6a4a206444ea23dd8c59949253f91dc84b3bd3 (patch)
tree8e2fce377d038b551ce0a2bb3feb32fbf4f75c0e
parent1bd9520ef011a4e4ca815d5f658f15cbfdb813ad (diff)
downloadssh-git-only-1c6a4a206444ea23dd8c59949253f91dc84b3bd3.tar.gz
ssh-git-only-1c6a4a206444ea23dd8c59949253f91dc84b3bd3.tar.bz2
ssh-git-only-1c6a4a206444ea23dd8c59949253f91dc84b3bd3.zip
append instead of overwrite
-rwxr-xr-xcreate-repo2
1 files changed, 1 insertions, 1 deletions
diff --git a/create-repo b/create-repo
index bf37d94..ff46ad7 100755
--- a/create-repo
+++ b/create-repo
@@ -5,4 +5,4 @@ if [ -n "$1" ]; then
fi
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"
+#sudo -u git sh -c "echo $1 >> ~git/user.listrw"