Skip to content
eviweb edited this page Mar 23, 2021 · 20 revisions

Foreword

As specified in the README file, the architecture of this project is grandly inspired by the git-flow project

Install

Please refer to the Installation section of the README file.

How to use

To run a command run git ignore COMMAND [OPTIONS], where COMMAND is one of the commands described below and OPTIONS are the command related options.
This tool provides the following commands :

  • help : displays the help message
  • version : displays the tool version
  • update : updates the tool and its submodules to their last up to date version
  • list : lists all available ignore patterns
  • see : displays the content of one or more patterns
  • create : creates a git ignore file
  • remove : removes a git ignore file
  • add : adds ignore patterns to an existing ignore file
  • delete : deletes ignore patterns from an existing ignore file
  • refresh : refreshes some already set ignore patterns in an existing ignore file
  • register : registers a local repository of ignore patterns
  • unregister : unregisters a local repository of ignore patterns
  • edit : open an existing git ignore file with the default editor
  • view : display the content of an existing git ignore file

Information

During the first use, a subfolder ./config is created under the root directory of your local gitignore-cli.
This folder is used to host some configuration files.
Config files, just like the config folder itself, are not tracked by git.

Clone this wiki locally