Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.08 KB

README.md

File metadata and controls

20 lines (15 loc) · 1.08 KB

git-user-switcher

(abbreviated as gus)

A Command Tool to Manage Global Git User.

Usage

Using gus -h for help information.

Options Description
-h, --help show help message and exit
-s [SAVE ...], --save [SAVE ...] Save user name and email to your custom symbol (default using your username).
Example: --save symbol name email
     --save name email
-l, --list List all custom symbols.
-r REMOVE, --remove REMOVE Remove custom symbols.
Example: --remove symbol
-e [EDIT ...], --edit [EDIT ...] Edit custom symbols.
Example: --edit symbol name email
-c CHANGE, --change CHANGE Change git user.
Example: change symbol

Other

Config info is stored directly in the .gitconfig file.