Added a comment: post-receive hook
authorwsha.code+ga@b38779424f41c5701bbe5937340be43ff1474b2d <wshacodega@web>
Fri, 9 Oct 2015 17:41:51 +0000 (17:41 +0000)
committeradmin <admin@branchable.com>
Fri, 9 Oct 2015 17:41:51 +0000 (17:41 +0000)
doc/tips/setup_a_public_repository_on_a_web_site/comment_5_55c80fd138dfc8052d2deac39b50a7ce._comment [new file with mode: 0644]

diff --git a/doc/tips/setup_a_public_repository_on_a_web_site/comment_5_55c80fd138dfc8052d2deac39b50a7ce._comment b/doc/tips/setup_a_public_repository_on_a_web_site/comment_5_55c80fd138dfc8052d2deac39b50a7ce._comment
new file mode 100644 (file)
index 0000000..5fdcf7d
--- /dev/null
@@ -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.
+"""]]