From: Don Armstrong Date: Thu, 2 Nov 2017 17:17:52 +0000 (-0700) Subject: add git-newbare command X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=66d11c31c5fcfd44afcc13a3cc05e2bd675cda4b;p=bin.git add git-newbare command --- diff --git a/git-newbare b/git-newbare new file mode 100755 index 0000000..d9c67a4 --- /dev/null +++ b/git-newbare @@ -0,0 +1,6 @@ +#!/bin/sh + +git init --bare "$1"; +cp "$1"/hooks/post-update.sample "$1"/hooks/post-update + +