Pre-receive hook declined

I am getting this error when i try to push into the web repository.

remote: GitLab: Commit must be signed with a GPG key
To https://gitlab.com/fluidattacks/web.git
 ! [remote rejected]   oscardjuribe -> oscardjuribe (pre-receive hook declined)

I have pushed to the others repositories, so i dont think that i have the same problem discussed here:https://community.fluidattacks.com/t/error-git-push-training/425

Hi, you need to sign your commits with GPG in order to be able to push to the web repository.

Here’s a guide that will be helpful: https://docs.gitlab.com/ee/user/project/repository/gpg_signed_commits/

1 Like