We're using Atlassian Stash v3.4.0 and failed to push our changes to repository (no matter master or other branches) recently.
Here is the error message.
Counting objects: 7, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 1.22 MiB | 0 bytes/s, done.
Total 7 (delta 3), reused 0 (delta 0)
To ssh://git@hkwapd08:7999/abc/abc-quote.git
! [remote rejected] hotfix/2.2.7 -> hotfix/2.2.7 (pre-receive hook declined)
error: failed to push some refs to 'ssh://git@hkwapd08:7999/abc/abc-quote.git'
It mentioned that the pre-receive hook declined the git push.
But we didn't have any changes in the hook setting in Stash.
Can anyone offer some insight?