Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 784 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 784 Bytes

Git Email Switch

This python program switches the current git email between two emails.

Setup

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

Configure

Create a YAML file in the folder called config.yml with the two emails desired.

Run

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.