projects
/
bin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7e46da
)
add git-newbare command
author
Don Armstrong
<don@donarmstrong.com>
Thu, 2 Nov 2017 17:17:52 +0000
(10:17 -0700)
committer
Don Armstrong
<don@donarmstrong.com>
Thu, 2 Nov 2017 17:17:52 +0000
(10:17 -0700)
git-newbare
[new file with mode: 0755]
patch
|
blob
diff --git a/git-newbare
b/git-newbare
new file mode 100755
(executable)
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
+
+