git-su

command module
v0.0.0-...-b55fc50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2024 License: MIT Imports: 9 Imported by: 0

README

git-su

A simple git wrapper to make it easier to work with multiple git accounts.

Installation

  • 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
Linux-x64
git clone
cd git-su
chmod +x git-su
sudo cp bin/linux-x64/* /usr/local/bin/

Usage

Current account info
git-su which
Add a new account
git-su add -id=<id> -name=<name> -email=<email>
git-su add -id=work -name="John Doe" -email="work@work.com"
Switch to a different account
git-su id
git-su work
List all accounts
git-su list
git-su ls
Remove an account
git-su remove -id=<id>
git-su rm -id=work
Help
git-su --help
git-su -h

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL