From d9712a799f9fa6b55aa73895212c13cc4853d241 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 11 Jul 2023 21:32:44 +0100 Subject: (Scripts)+script to automate creating a remote repository for projects --- Scripts/.local/scripts/create_repo | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 Scripts/.local/scripts/create_repo (limited to 'Scripts/.local') 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 -- cgit v1.2.3-13-gbd6f