From 7e2650778f3f569b97dc5998f87f8cefaf6830d8 Mon Sep 17 00:00:00 2001 From: Celeste Date: Wed, 22 Dec 2021 17:21:15 +0000 Subject: [PATCH] =?UTF-8?q?add=20the=20schei=C3=9Fe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE | 14 ++++++++++++++ README | 6 ++++++ rgi.sh | 6 ++++++ 3 files changed, 26 insertions(+) create mode 100644 LICENSE create mode 100644 README create mode 100644 rgi.sh diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ee7d6a5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,14 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2004 Sam Hocevar + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. + diff --git a/README b/README new file mode 100644 index 0000000..3eded8e --- /dev/null +++ b/README @@ -0,0 +1,6 @@ +Usage +----------------- + +Edit the variables in the files first. + +./rgi.sh name "description of repo" diff --git a/rgi.sh b/rgi.sh new file mode 100644 index 0000000..6cc3a83 --- /dev/null +++ b/rgi.sh @@ -0,0 +1,6 @@ + +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"