Added a comment: post-receive hook

This commit is contained in:
wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d 2015-10-09 17:41:51 +00:00 committed by admin
parent 405deb3d2f
commit 923c5cdbf2

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="wsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d"
nickname="wsha.code+ga"
subject="post-receive hook"
date="2015-10-09T17:41:51Z"
content="""
The post is pretty clear but I misinterpreted at first and got stuck for a while, so just in case this helps anyone else:
The issues about the `post-receive` hook running in the `.git` directory and `GIT_DIR` being set to `.` are distinct issues and you might need to fix both them. At first, I thought they were the same thing and just doing `cd ..` would be enough to fix things, but it is not.
"""]]