8 lines
220 B
Bash
Executable file
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
|