MacOS/Gitlab : Signing commits with GPG
Jul 20, 2022
a) Follow on steps on commits with GPG with below changes
b) Use
git config --global gpg.program "$(which gpg)"#instead of
git config --global gpg.program gpg2
c) Prior of creating a signed commit
export GPG_TTY=$(tty)