HNHacker News
TopNewBestAskShowJobs

micahhenning

139 karma · joined October 2, 2018

[ my public key: https://keybase.io/micahhenning; my proof: https://keybase.io/micahhenning/sigs/L4hPelS-a1I5mOJr7MT8Q5XJEDNjVT5j3Zfd4YPSLE0 ]
submissionscomments
micahhenning··on Setting Up Git Identities
Sometimes, you don't want your personal email associated with a work project, or your work email associated with a personal project. You can leverage git identities to ensure this separation. Bonus: cryptographically sign your commits.
micahhenning··on Setting up Git identities
The keys have a User ID packet with a userId field that contains a name and email address, which is an identity. I prefer to keep my identities separate from one another. For me it's not necessarily about security, it's more so about compartmentalization.
micahhenning··on Setting up Git identities
It's in the second sentence of the post =P

"This is a procedure for leveraging git aliases to set an identity at the project level..."

micahhenning··on Setting up Git identities
Generate a new key and update the global git config with the new public key hash. Then add the new public key to Github/Gitlab to support verification of signed commits with new key.