Skip to content
🔱 A command line tool allowing for easy shifting between git identities (username, email, and GPG).
TypeScript Shell JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
src
test
.gitignore
.npmignore
.travis.yml
LICENSE
README.md
git-identity
package-lock.json
package.json
tsconfig.json

README.md

git-identity

npm version Build Status Language grade: JavaScript Total alerts

                     .-') _                  _ .-') _     ('-.       .-') _  .-') _           .-') _               
                    (  OO) )                ( (  OO) )  _(  OO)     ( OO ) )(  OO) )         (  OO) )              
  ,----.     ,-.-') /     '._         ,-.-') \     .'_ (,------.,--./ ,--,' /     '._ ,-.-') /     '._  ,--.   ,--.
 '  .-./-')  |  |OO)|'--...__)        |  |OO),`'--..._) |  .---'|   \ |  |\ |'--...__)|  |OO)|'--...__)  \  `.'  / 
 |  |_( O- ) |  |  \'--.  .--'        |  |  \|  |  \  ' |  |    |    \|  | )'--.  .--'|  |  \'--.  .--'.-')     /  
 |  | .--, \ |  |(_/   |  |           |  |(_/|  |   ' |(|  '--. |  .     |/    |  |   |  |(_/   |  |  (OO  \   /   
(|  | '. (_/,|  |_.'   |  |          ,|  |_.'|  |   / : |  .--' |  |\    |     |  |  ,|  |_.'   |  |   |   /  /\_  
 |  '--'  |(_|  |      |  |         (_|  |   |  '--'  / |  `---.|  | \   |     |  | (_|  |      |  |   `-./  /.__) 
  `------'   `--'      `--'           `--'   `-------'  `------'`--'  `--'     `--'   `--'      `--'     `--'      

A command line tool allowing for easy shifting between git identities (username, email, and GPG).

Version: 0.4.3-alpha
Author: Luiserebii

Usage

Usage: git-identity [options]

Options:
  -v, --version          output the version number
  -a, --about            about this tool
  -l, --list             list all registered identities
  -n, --new <name> *     add new identity
  -u, --update <name> *  update registered identity
  -d, --delete <name>    delete registered identity
  -s, --shift <name>     shift git identity to registered identity (global by default)
  -c, --current          current global git identity
  --global               global (option for -s and -c)
  --local                local (option for -s and -c)
  --user <username>      specify username
  --email <email>        specify email
  --gpg-key <gpg-key>    specify GPG key (key-id format: LONG)
  -h, --help             output usage information

* uses additional flags below: 
--user, --email, --gpg-key

Installation

Linux

To install, simply extract the tool into a preferred directory, compile, and create a soft link. For example, if you are looking to place the tool in your home directory:

unzip git-identity-0.4.3-alpha.zip -d ~/
cd ~/git-identity-0.4.3-alpha
npm install
npm run build
sudo chmod u+x ~/git-identity-0.4.3-alpha/git-identity
sudo ln -s ~/git-identity-0.4.3-alpha/git-identity /usr/local/bin/git-identity

Doing this should make it globally accessible via git-identity.

Mirror

A mirror of this repository is available at: https://serebii.io:2501/Luiserebii/git-identity

Contact

Questions? Comments? Suggestions?
Open an issue, make a pull request!

Or, you can email me at: luis@serebii.io

You can’t perform that action at this time.