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.