aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts/repo_create
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/.local/scripts/repo_create')
-rwxr-xr-xScripts/.local/scripts/repo_create7
1 files changed, 7 insertions, 0 deletions
diff --git a/Scripts/.local/scripts/repo_create b/Scripts/.local/scripts/repo_create
new file mode 100755
index 0000000..325a2bf
--- /dev/null
+++ b/Scripts/.local/scripts/repo_create
@@ -0,0 +1,7 @@
+#!/usr/bin/env sh
+
+ssh git@git.aryadevchavali.com "mkdir -p /git/$1.git; git init --bare /git/$1.git;
+cd /git/$1.git;
+git config gitweb.owner \"Aryadev Chavali <aryadev@aryadevchavali.com>\";
+git config gitweb.description \"$2\"";
+git clone git@git.aryadevchavali.com:/git/$1