[remote rejected] master -> master (pre-receive hook declined)
Hi, We meet issue when we try to push code to master branch. Below is error return on cmd.
remote: File "/opt/gitlab/embedded/service/gitlab-shell/hooks/pre-receive.d/validate_commit_message.py", line 5 remote: https://docs.gitlab.com/ee/administration/server_hooks.html#set-a-global-server-hook-for-all-repositories """ from future import remote: ^ remote: SyntaxError: invalid syntax To gitlab.corsair.com:bis/mulesoft/mulesoftprojects.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to '[email protected]:bis/mulesoft/mulesoftprojects.git'
Please help to find solution.