Files
dotfiles/Scripts/.local/scripts/repo_create
Aryadev Chavali 8d0c5e3faa (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.
2023-07-14 02:26:24 +01:00

8 lines
276 B
Bash
Executable File

#!/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 <aryadev@aryadevchavali.com>\";
git config gitweb.description \"$2\"";
git clone git@git.aryadevchavali.com:/git/$1