Note
Can probably use local
instead of global
for per-project settings.
Not sure if local settings override global, but I would hope so.
Sign commits¶
git config --global user.signkey public 80E6A369 ## Replace 80E6A369 will private key ID
sign commits with ssh¶
git config --global gpg.format ssh
git config --global user.signingkey ~/.ssh/gitlab_lab.pub
git config --global commit.gpgsign true
Set email/username¶
git config --global user.email=ddpbsd@gmail.com
git config --global user.name=ddp