I have a script, that I need to run after committing to a project under git revision control. Therefore I created a post-commit hook in my projects .git directory in the sub
Here's how it works for me:
#!/bin/sh # I am a post-commit hook nohup /usr/local/bin/my_script &>/dev/null &