A simple git wrapper to make it easier to work with multiple git accounts.
- Clone the repository
- Depending on your OS, you may need to make the file executable. You can do this by running
chmod +x git-su
- Move the file to a directory in your PATH. For example,
/usr/local/bin
git clone
cd git-su
chmod +x git-su
sudo cp bin/linux-x64/* /usr/local/bin/
git-su which
git-su add -id=<id> -name=<name> -email=<email>
git-su add -id=work -name="John Doe" -email="[email protected]"
git-su id
git-su work
git-su list
git-su ls
git-su remove -id=<id>
git-su rm -id=work
git-su --help
git-su -h