diff options
author | VG <vg@devys.org> | 2016-09-27 20:39:55 +0200 |
---|---|---|
committer | VG <vg@devys.org> | 2016-09-27 20:39:55 +0200 |
commit | ae1ffa7c7a6823423b6c9b961e7d1c28a86af9ef (patch) | |
tree | 6c621ffca8629ad3b67720ff4e9aa602c2cad8a7 /create-repo | |
download | ssh-git-only-ae1ffa7c7a6823423b6c9b961e7d1c28a86af9ef.tar.gz ssh-git-only-ae1ffa7c7a6823423b6c9b961e7d1c28a86af9ef.tar.bz2 ssh-git-only-ae1ffa7c7a6823423b6c9b961e7d1c28a86af9ef.zip |
first commit
Diffstat (limited to 'create-repo')
-rwxr-xr-x | create-repo | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/create-repo b/create-repo new file mode 100755 index 0000000..2883b58 --- /dev/null +++ b/create-repo @@ -0,0 +1,6 @@ +#!/bin/sh +if [ -n "$1" ]; then + echo "Usage: create-repo <reponame>" + exit 1 +fi +sudo -u git git init --bare "$1" |