December 2010
1 post
Tweaking the git post-receieve-email hook
For whatever reason, Git’s post-receive email hook is a hassle to configure, and ugly. How we do it. cd ~git/repositories/XXXX/hooks locate post-receive-email cp YYY/post-receive-email . emacs post-receieve-email change recipients=YOUR MAILING LIST change describe=$(git describe $rev 2>/dev/null) to describe=$(git log -1 —pretty=%s $rev) change  Subject:...
Dec 14th
2 notes