aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts/create_repo
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/.local/scripts/create_repo')
-rwxr-xr-xScripts/.local/scripts/create_repo4
1 files changed, 4 insertions, 0 deletions
diff --git a/Scripts/.local/scripts/create_repo b/Scripts/.local/scripts/create_repo
new file mode 100755
index 0000000..d1a3dfa
--- /dev/null
+++ b/Scripts/.local/scripts/create_repo
@@ -0,0 +1,4 @@
+#!/usr/bin/env sh
+
+ssh root@aryadevchavali.com "mkdir -p /git/$1.git; chown git /git/$1.git; chgrp git /git/$1.git; git init --bare /git/$1.git";
+git clone git@git.aryadevchavali.com:/git/$1