irongit
Explore
Docs
Sign in
Register
huncholane
/
post-receive
Public
The elusive post-receive example that I so often need
Code
Commits
Branches
Tags
d17178f1da7f48d5770648fd312d9f9a68bcaba6
main
post-receive
/
startproject.sh
7 lines
138 B
Bourne Again Shell (bash)
Raw
Download
History
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