logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git
commit: 4a20ec071a7a983ea5ceab197b08bac0458041a7
parent 15ed3611d6cfedca7c1cf85bd79eed8b0f4bf846
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed,  9 Dec 2020 23:05:41 +0100

bin/stagit-new: New command

Diffstat:

Abin/stagit-new6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/bin/stagit-new b/bin/stagit-new @@ -0,0 +1,6 @@ +#!/bin/sh -e +repo="$1" + +git init --bare "/git/${repo}.git" +echo "https://hacktivis.me/git/${repo}.git" > "/git/${repo}.git/url" +rm -fr "/git/${repo}.git/hooks/*.sample"