git-ignore-cli

0.0.3 • Public • Published

git-ignore-cli

Manage your .gitignore from the command line.

WARNING: this tool is a work-in-progress and might be unstable or unsuitable for serious use.

Installation

npm install --global git-ignore-cli

Usage

$ gitignore --help
  Usage
    $ gitignore [options] [<pathspec>...]    Add paths to .gitignore

  Options
    -l, --local    Use local .gitignore (default)
    -g, --global   Use global .gitignore

  Examples
    $ gitignore build/.tmp *.zip
      Added to local .gitignore (Z:\_projects\gitignore-cli\.gitignore):
      build/.tmp
      *.zip

    $ gitignore --local
      Local .gitignore (Z:\_projects\gitignore-cli\.gitignore)
      build/.tmp
      *.zip

TODO

License

The MIT License © Clément Paris

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i git-ignore-cli

    Weekly Downloads

    1

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • clementparis016