Aral Balkan · @aral
32594 followers · 23022 posts · Server mastodon.ar.al

So today I realised that I forgot to add the global setting to make me automatically sign my git commits:

git config --global commit.gpgsign true

(Just setting up your user.signingkey isn’t enough.)

Also, you can go rebase your whole history to sign all your commits using:

git rebase --signoff --root

(However, you’ll end up with a linear history and lose any branch/merge history, etc.)

#signoff #rebase #signedcommits #signatures #gpg #commit #git

Last updated 2 years ago