It is the project that enables to switch between Git users via terminal. It just uses git commands and does not directly access git files (like git's own config files) for any operation.
- Clone this repo to your PC:
git clone https://github.com/mtyuksel/gum.git
- Open your zshrc/bashrc file with any editor:
code ~/.zshrc
- Add following with the correct directory to the end of the zshrc/bashrc file:
export PATH=$PATH:<THE_DIRECTORY_YOU_CLONED_GUM_INTO>/gum
- And now, you can reach GUM in any directory. Check with the following (you should see default profile names):
- Add your profile info to config.yaml
- You can set your user profiles with the following command:
gum set <profile-name>
- You can list your user profile names with the following command:
gum show