|
You are here |
navendu.me | ||
| | | | |
128bit.io
|
|
| | | | | GPG stands for GNU Privacy Guard, it's a public-key cryptography that can be used to digitally sign items like commits in Git. GPG provides a lot more functionality, but let's go into why you would want to digitally sign your Git commits. Git does not have any way to validate the author of a commit. When setting up a Git client on your system you are able to use any email address you desire. | |
| | | | |
blog.shr4pnel.com
|
|
| | | | | I cover the steps you need to get started with GPG, as well as creating an SSH key and other cool shit. Using this, you can send encrypted emails to your friends, create your own encrypted chat platforms and securely log in to your remote servers. | |
| | | | |
danielms.site
|
|
| | | | | I build things and drink coffee. | |
| | | | |
jinyuz.dev
|
|
| | | Suppose that you have a full time job at Amazon, and you want to separate your git commit emails from Amazon and your personal projects. Setting up ~/.gitconfig $ touch ~/.gitconfig For our personal projects, we will use the ~/.gitconfig file with the following content: [user] name = James Banned email = james.banned@gmail.com [includeIf "gitdir:~/Work/"] path = ~/.gitconfig.work The includeIf basically means that include this config if I'm inside the ~/Work/ directory. | ||