irongit

The elusive post-receive example that I so often need

startproject.sh

FIRST_NAME LAST_NAMEauthored
parent 4b12acbcommit d17178f1da7f48d5770648fd312d9f9a68bcaba6Browse files

1 file changed, +7 -0

+7-0startproject.sh
@@ -0,0 +1,7 @@
1+#!/bin/bash
2+
3+$project=$HOME/$1
4+
5+git init --bare $project
6+cp post-receive $project/hooks/post-receive
7+chmod +x $project/hooks/post-receive