diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-07-14 02:26:24 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-07-14 02:26:24 +0100 |
commit | 8d0c5e3faa5e8e5f7006715bbd3e831e622028fe (patch) | |
tree | a970b9d51b7d48af7236ae3b697fad73f2ac7553 /Scripts/.local/scripts/repo_create | |
parent | 450b048f8ef33e233659de0a165950f4384033c1 (diff) | |
download | dotfiles-8d0c5e3faa5e8e5f7006715bbd3e831e622028fe.tar.gz dotfiles-8d0c5e3faa5e8e5f7006715bbd3e831e622028fe.tar.bz2 dotfiles-8d0c5e3faa5e8e5f7006715bbd3e831e622028fe.zip |
(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.
Diffstat (limited to 'Scripts/.local/scripts/repo_create')
-rwxr-xr-x | Scripts/.local/scripts/repo_create | 7 |
1 files changed, 7 insertions, 0 deletions
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 <aryadev@aryadevchavali.com>\"; +git config gitweb.description \"$2\""; +git clone git@git.aryadevchavali.com:/git/$1 |