Switch a Git User with One Command
After initializing a git repository, the next step would be to set a git user name and email. You can do this by typing the git config
command each time. But when we have multiple git profiles, it would be nice if we could manage them in a JSON format. Therefore, I decided to write a simple script to set up and/or switch a git user config with one command.