I just want to know whether the post-receive git hook scripts have been executed, so I added an echo command to the bash script like this:
#!/bin/sh
echo "just test"
When I run git push
on local repo, nothing happened on the remote server.
Where can I see the echoed result string from remote server or somewhere else?
I have run chmod +x post-receive
and the owner of post-receive
is git:git