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

9 lines
220 B
Bash
Raw Normal View History

2021-12-22 17:21:15 +00:00
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"
2022-07-23 20:05:32 +01:00
git remote add origin $USER@$DOMAIN:/srv/git/$1.git
2022-07-23 20:04:35 +01:00
git push -u origin master