frequently changing one’s global git author config seems like a recipe for making mistakes. when using multiple git identities in the same environment, it’s better to use per-checkout configs so that you always use the correct one: git config --local user.name User; git config --local user.email user@example.com will write these settings to the checkout’s .git/config.
frequently changing one’s global git author config seems like a recipe for making mistakes. when using multiple git identities in the same environment, it’s better to use per-checkout configs so that you always use the correct one:
git config --local user.name User; git config --local user.email user@example.comwill write these settings to the checkout’s.git/config.