From 8b9bf007b803268506108c6a6e898f5017aa7622 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Sat, 26 Feb 2022 17:04:50 -0500 Subject: feat: very basic git-create --- git-create | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 git-create (limited to 'git-create') diff --git a/git-create b/git-create new file mode 100755 index 0000000..dec4575 --- /dev/null +++ b/git-create @@ -0,0 +1,7 @@ +#!/bin/sh + +REPO_NAME=$1 +[ -z "$REPO_NAME" ] && exit 1 +ssh git@53hor.net git init --bare --initial-branch=master "repos/$REPO_NAME.git" +vim "scp://git@53hor.net//zroot/git/$REPO_NAME.git/description" +git clone "git@53hor.net:repos/$REPO_NAME.git" -- cgit v1.2.3