gitignore/README.md
2022-10-21 00:28:58 +02:00

732 B

Git ignore

Is an extension for easily adding ignored files to .gitignore files, when added it will by default also try to remove any files matching the pattern added to .gitignore, this is by default also run in interactive mode, giving you the option to confirm or deny

found .gitignore .../some-path/.gitignore
Added node_modules/ to .gitignore
Removed node_modules/ from git index
$ git ignore 'node_modules/'
found .gitignore .../some-path/.gitignore
Added node_modules/ to .gitignore
Removed node_modules/ from git index

Installation

Cargo

Cargo will only pull the gitignore command and won't add a subcommand to `git.

$ cargo install kjuulh/gitignore

Homebrew

TBA