I’ve recently set up a project with a Git post-commit hook but it appears that the hook is not executed upon commit from within Atom (ie; using the Git Tab in the editor).
The contents of the post-commit file is as follows, where x is a valid remote repository and y a valid branch:
#!/bin/sh git push x y
- I am running Atom 1.22.0 x64 on Windows 10
- The hook is executed as expected when the commit is run from the command line (Bash on Win10)
- The post-commit file is executable
What am I missing?
Any help would be much appreciated!