5 ms·
What I use to switch git identities is direnv (https://direnv.net/ https://direnv.net/) which automatically loads specific config based on the dir that you are
by jgeerts 6y ago
What I use to switch git identities is direnv (https://direnv.net/ https://direnv.net/) which automatically loads specific config based on the dir that you are in. You can use it to switch AWS profiles, proxy settings, npm settings, maven settings, git configuration and so on.