🥷 Command line util for quickly & easily switching git identities
npm install gitsu-cli -g
Open the gitsu
switcher to select a user from your ~/.gitsurc
config
gitsu
List users stored in your ~/.gitsurc
config
gitsu --list
gitsu -l
Open your ~/.gitsurc
config for editing in your default editor
gitsu --edit
gitsu -e
Compiling a production build
npm run build
Running in development mode
npm run dev
Running a production build
npm start
Link the local package to your global npm modules
npm link
Unlink the local package from your global npm modules
npm unlink gitsu-cli -g
When you run gitsu
for the first time, a .gitsurc
file is created in your home directory. This file is used to store your git identities.
[
{ "name": "John", "email": "[email protected]" },
{ "name": "John Doe", "email": "[email protected]" },
{ "name": "Johnny", "email": "[email protected]" }
]
This project is licensed under the MIT License - see the LICENSE file for details.