|
You are here |
themythicalengineer.com | ||
| | | | |
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... | |
| | | | |
www.integralist.co.uk
|
|
| | | | | Introduction The Problem? The Solution Creating a new Key SSH Config Optional Shell Function Alternatives? Another Alternative Introduction I recently had an issue with my GitHub set-up which has since prompted me to write this post. The issue I had was dealing with multiple GitHub accounts via SSH on a single laptop. So I have a GitHub account under the username Integralist. This is a personal account, and up until recently I was also using it to access my work's private repos (BBC and BBC-News). | |
| | | | |
vadosware.io
|
|
| | | | | Yet another article on the internet about how to reasonably manage multiple git personas | |
| | | | |
utf9k.net
|
|
| | | Did you know you can change Git attributes based on what folder you're in? | ||