From 8d0c5e3faa5e8e5f7006715bbd3e831e622028fe Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 14 Jul 2023 02:26:24 +0100 Subject: (Scripts>repo_*)~create_repo->repo_create,+repo description get/set Better creating of repositories, repo_create now takes description for second argument and new scripts to do it post creation as well. --- Scripts/.local/scripts/repo_create | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 Scripts/.local/scripts/repo_create (limited to 'Scripts/.local/scripts/repo_create') diff --git a/Scripts/.local/scripts/repo_create b/Scripts/.local/scripts/repo_create new file mode 100755 index 0000000..325a2bf --- /dev/null +++ b/Scripts/.local/scripts/repo_create @@ -0,0 +1,7 @@ +#!/usr/bin/env sh + +ssh git@git.aryadevchavali.com "mkdir -p /git/$1.git; git init --bare /git/$1.git; +cd /git/$1.git; +git config gitweb.owner \"Aryadev Chavali \"; +git config gitweb.description \"$2\""; +git clone git@git.aryadevchavali.com:/git/$1 -- cgit v1.2.3-13-gbd6f