summaryrefslogtreecommitdiff
path: root/doc/tips/setup_a_public_repository_on_a_web_site/comment_5_55c80fd138dfc8052d2deac39b50a7ce._comment
blob: 5fdcf7dc998d951f3e77ea4fb1f34daf592fbe2e (plain)
1
2
3
4
5
6
7
8
9
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.
"""]]