From 66d11c31c5fcfd44afcc13a3cc05e2bd675cda4b Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 2 Nov 2017 10:17:52 -0700 Subject: [PATCH] add git-newbare command --- git-newbare | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 git-newbare 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 + + -- 2.39.5