GithubHelp home page GithubHelp logo

git-idm-npm's Introduction

git-idm-npm

git-idm-npm is a command line interface based git identity manager.

Table of contents


Installation

Npm package (Recommended)

  1. npm install -g git-idm-npm

From github

  1. npm install -g https://github.com/Kireobat/git-idm-npm.git

Manually

  1. Download the git repository
    • Either download it as a zip file and unzip it, or
    • run git clone https://github.com/Kireobat/git-idm-npm.git
  2. Install it from the files you downloaded
    • run npm install -g path/to/files

Troubleshooting

This script has been confirmed to work on:

  • Windows
    • 10
    • 11
  • Linux
  • MacOS
"scripts is disabled on this system"

If you get the following error message:

git-idm : File C:\path\to\nodejs\git-idm.ps1 cannot be loaded because running scripts is disabled on this system.
For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ git-idm list
+ ~~~~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess

The solution is to follow the path spesified at the beginning of the error message C:\path\to\nodejs\git-idm.ps1 and delete the following file: git-idm.ps1


Commands

Commands are sorted alphabetically

The help command

git-idm help

or

git-idm <command> --help

is availiable and provides more or less the same info as below.

git-idm active
  • displays the active git identity
git-idm add
  • adds a new git identity
  • arguments:
    • --name=""
      • alias: --n=""
      • required
      • string
    • --email=""
      • alias: --e=""
      • required
      • string
    • --alias=""
      • alias: --a=""
      • optional
      • string
git-idm alias
  • adds or changes an alias
  • arguments:
    • --alias=""
      • alias: --a=""
      • required
      • string
    • --name=""
      • alias: --n=""
      • required
      • string
git-idm list
  • lists every saved identity
git-idm remove
  • deletes a git identitiy
  • arguments:
    • --name=""
      • aliases: --n="" --a="" --alias=""
      • required
      • string
git-idm use
  • set git identity for current repository or globally
  • arguments:
    • --name=""
      • aliases: --n="" --a="" --alias=""
      • required
      • string
    • --global
      • alias: --g
      • optional
      • boolean

git-idm-npm's People

Contributors

kireobat avatar

Watchers

 avatar

git-idm-npm's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.