#gitignore #ignore #git #interactive #clap

app kignore

kignore is a tool for easily adding patterns to .gitignore and cleaning up afterwards

2 releases

0.1.1 Oct 20, 2022
0.1.0 Oct 20, 2022

#954 in Command-line interface

MIT license

16KB
200 lines

Git ignore (kignore)

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

$ kignore 'node_modules/'
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 kignore command and won't add a subcommand to `git.

$ cargo install kignore

Homebrew

TBA

Dependencies

~8–16MB
~190K SLoC