(Scripts)+script to automate creating a remote repository for projects
This commit is contained in:
4
Scripts/.local/scripts/create_repo
Executable file
4
Scripts/.local/scripts/create_repo
Executable file
@@ -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
|
||||
Reference in New Issue
Block a user