0

I used this tutorial to setup gpg signing of commits: https://docs.gitlab.com/ee/user/project/repository/gpg_signed_commits/

If i create a branch and perform signed commits, no problem, they are verified on gitlab. I use these commands

git add.
git commit -S -m "Some message"
git push

When i rebase of main or try to merge main into my branch, then using the same commands above, when I push I keep getting "Commit must be signed with a GPG key". We are using gitlab.

I looked around on google but have not yet found anything I could use to figure out what the issue is, still looking.

WKM_001
  • 1
  • 1
  • See [How to retain commit gpg-signature after interactive rebase squashing?](https://stackoverflow.com/q/18874281/1256452) - I'm not sure if I should *close* this as a duplicate, but the essentials are there. – torek Oct 18 '22 at 16:38

0 Answers0