This repository has been archived on 2024-11-11. You can view files and clone it, but cannot push or open issues or pull requests.
rgi/rgi.sh
2022-07-23 20:04:35 +01:00

8 lines
220 B
Bash
Executable file

USER="git"
DOMAIN="colean.cc"
ssh $USER@$DOMAIN "git init --bare /srv/git/$1.git"
ssh $USER@$DOMAIN "echo $2 > /srv/git/$1.git/description"
git remote add origin git@colean.cc:/srv/git/$1.git
git push -u origin master