Hi,
I have an issue where I have a pre-push git hook, but it is not executing when pushing via SourceTree. If I push via the command line, it executes fine, and that is copying the exact git command that SourceTree is trying to execute.
I have a pre-commit hook which executes correctly from both the command line and SourceTree, so just not sure why SourceTree and my pre-push hook are not playing nice together.
I have dumbed all hooks down to a simple echo statement to ensure there is nothing wrong with the way the hooks were written, and the outcome of each combination is still the same i.e. all hooks execute except for pre-push when using SourceTree.
Any help would be appreciated, thanks.