diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-07-11 21:32:44 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-07-11 21:32:44 +0100 |
commit | d9712a799f9fa6b55aa73895212c13cc4853d241 (patch) | |
tree | 5d467105839a3557f1d189df84deeed2ecad5d3c /Scripts/.local | |
parent | 7a6a61ccb9a9d8dadb343caa6def80f8b5d1a77a (diff) | |
download | dotfiles-d9712a799f9fa6b55aa73895212c13cc4853d241.tar.gz dotfiles-d9712a799f9fa6b55aa73895212c13cc4853d241.tar.bz2 dotfiles-d9712a799f9fa6b55aa73895212c13cc4853d241.zip |
(Scripts)+script to automate creating a remote repository for projects
Diffstat (limited to 'Scripts/.local')
-rwxr-xr-x | Scripts/.local/scripts/create_repo | 4 |
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 |