this post was submitted on 11 Apr 2025
223 points (95.9% liked)

Programmer Humor

22540 readers
1623 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] codesaIat@discuss.tchncs.de 36 points 1 week ago* (last edited 1 week ago) (1 children)

Ha, good catch! Behind the scences, git is actually using your private key to sign the commit. You're only specifying the ssh key git should ask ssh-agent about. You can also specify the private key and actually need to when not using an agent and the key is not available. See docs

OH! Now I see! Thanks for pointing that out.