'GitLab: Commit must be signed with a GPG key
I've faced an issue with GitLab, and I don't know how to fix this issue. I'm owner of repository, I've already gpg
enabled, but at the end I still face an issue. Here is my global configuration for my git:
[user]
name = neon
email = [email protected]
signingkey = 244F9F35
[init]
defaultBranch = main
[gpg]
program = gpg
[commit]
gpgsign = true
[credential]
helper = store --file ~/.git/.my-credentials
[pull]
rebase = true
Error:
remote: GitLab: Commit must be signed with a GPG key
To https://gitlab.com/some_name.git
! [remote rejected] cm -> cm (pre-receive hook declined)
error: failed to push some refs to 'https://gitlab.com/some_name.git'
Regarding GitLab it self, GPG key has been assigned, and in use
[email protected] Verified D5BF2528338FE1EEC73DDC7F96FBC559244F9F35
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|