#example gitlab gitconfig from the included path
[user]
name = Your Name
email = 0000000-YourName@users.noreply.gitlab.com
signingkey = 0000999988887777
[commit]
gpgsign = true
if all works well, Git should be able to automatically use the selected key depending on the repo’s stated remote server.
I don’t post my code to Github because I still couldn’t figure out how to switch SSH keys for 2 different git servers smoothly.
you dont have to switch
git will automatically select one that works
I have the same password protected ssh key for every git site i am on tho. The sites only know the public key so its fine.
bruh the Stack Overflow energy
have at it!
taken from Gitlab’s manual page for creating a key, but i wonder what else could be done to expand on it.
if all works well, Git should be able to automatically use the selected key depending on the repo’s stated remote server.
That’s GPG, not SSH.
my bad x.x