Git post-receive hook is not working -


i work git 1.95 (local) , 1.71 (remote). i've read of threads on git hooks don't work, haven't found solution yet.

what's happening: have set remote non-bare repository push local repo through ssh. post-receive hook simple:

#!/bin/bash -x touch worked.txt 

i added necessary permissions chmod +x, , works when executed manually. ended reading this, still don't have solution. should simple, instead it's frustrating.


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - Gamma correction doesn't look properly corrected, is this linear? -