🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

git-identity

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-identity

A Git Identity Manager

latest
Source
npmnpm
Version
1.1.4
Version published
Maintainers
1
Created
Source

git-identity

npm version

Have you ever had trouble managing git identities? or are you to lazy to switch between work and private identities?

git-identity aims to solve this problem by providing a simple and convenient way to switch between profiles.

Installation

npm install -g git-identity

Usage

   USAGE

     git-identity <command> [options]

   COMMANDS

     use <identity>         use an identity                                           
     add <name>             add the current identity to .gitidentities                
     remove <identity>      remove an identity from .gitidentities                    
     show <identity>        show info about an identity                               
     ls                     list all identities                                       
     reset                  reset identity for this project to the global git identity
     current                show current identity                                     
     help <command>         Display help for a specific command                       

   GLOBAL OPTIONS

     -h, --help         Display help                                      
     -V, --version      Display version                                   
     --no-color         Disable colors                                    
     --quiet            Quiet mode - only displays warn and error messages
     -v, --verbose      Verbose mode - will also output debug messages    

Examples

git identity use work - use your work profile for your current project.

git identity use -g private - use your private profile globally

git identity add newProfileName - adds the current profile to the profile list.

Shell autocompletion note

git-identity uses caporal and therefore benefits from auto completion for bash, zsh and fish, this however needs some manual setup.

FAQs

Package last updated on 02 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts