|
You are here |
ar.al | ||
| | | | |
den.dev
|
|
| | | | | Make your GitHub life easier with no-touch commit signing. | |
| | | | |
emmanuelbernard.com
|
|
| | | | | Today I learned that you could sign your Git commits not only via a gpg key but also via a ssh key. Let's see how. GPG keys and Git signing I've never had the rigor to use a maintain a gpg key over the years. For some reasons, I've always found it too cumbersome. On the other hand, I've managed my ssh keys pretty well (you better be to log into remote machines, right?). I've been working on a small project for my French podcast Les Cast Codeurs where the main maintainer is enforcing commit signing. That's a good thing but I felt like one more thing between me a success! So I investigated how to do SSH signing. How to set up ssh signing for your git project Without further due git config user.name "Emmanuel Bernard" git config user.email "my-email@example.net... | |
| | | | |
www.micah.soy
|
|
| | | | | Working on many projects across multiple identities can be difficult to manage. This is a procedure for leveraging git aliases to set an identity at the project level. | |
| | | | |
willhaley.com
|
|
| | | This article outlines a process for loading a custom git configuration when in a specific directory tree. This sets up a sort of local git configuration per-directory without needing to alter the global .gitconfig file or any other global git or ssh configurations. See here an example .envrc file. This file would be used by direnv to set per-directory env variables with the direnv shell helper. PATH=$PATH:$(pwd)/bin export GIT_AUTHOR_EMAIL="Email to use for this organization" export GIT_AUTHOR_NAME="Name to use for this organization" export GIT_COMMITTER_EMAIL="Email to use for this organization" export GIT_COMMITTER_NAME="Name to use for this organization" export GIT_SSH="my-special-ssh-command-for-this-organization.sh" Setting GIT_SSH allows for customizin... | ||