kignore

Crates.iokignore
lib.rskignore
version0.1.1
sourcesrc
created_at2022-10-20 23:04:04.297494
updated_at2022-10-20 23:05:27.341606
descriptionkignore is a tool for easily adding patterns to .gitignore and cleaning up afterwards
homepage
repositoryhttps://github.com/kjuulh/gitignore
max_upload_size
id693014
size14,067
Kasper Juul Hermansen (kjuulh)

documentation

https://docs.rs/gitignore

README

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

Commit count: 39

cargo fmt