You are encountering the "pre-receive hook declined" error while executing
git push to deploy an application to EYK.
Sample error message:
Error running git receive hook [The controller returned an error when publishing the
Below are some common reasons why the "
pre-receive hook declined" git error may be encountered while deploying an application to EYK using the
git push CLI command:
- Your code is behind someone else's commits. This can be fixed by doing
git pullfirst from the "eyk" remote or checking with any other user who might have pushed before you.
- Very large files were added to commit or some other change in the code that triggered the decline rules.