This python program switches the current git email between two emails.
Windows:
python -m venv venv
.\venv\Scripts\activate
pip install -r requirements.txt
macOS/Linux
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Create a YAML file in the folder called config.yml
with the two emails desired.
python email_switch.pyw
For usage with Logitech G HUB macros or keyboard shortcuts, the batch file can be used. The batch file will only work if the repository is in the home folder. For usage with keyboard shortcuts, make a file shortcut to the batch file and assign a key to the shortcut in properties.