kjuulh / gitignore

Git ignore (kignore) is a utility tool for easily adding entries to .gitignore files, and cleaning up afterwards

Home Page:https://git.front.kjuulh.io/kjuulh/gitignore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Post install

To get the git ignore subcommand working you will need to have the file git-ignore available on your path, either add it yourself using git-alias/git-ignore as a template or:

git clone https://github.com/kjuulh/gitignore
./scripts/install-git-alias.sh # only tested on mac and linux

Homebrew

Added in HomebrewFormula

$ brew tap kjuulh/gitignore  https://github.com/kjuulh/gitignore
$ brew install kjuulh/gitignore/kignore-bin

About

Git ignore (kignore) is a utility tool for easily adding entries to .gitignore files, and cleaning up afterwards

https://git.front.kjuulh.io/kjuulh/gitignore

License:MIT License


Languages

Language:Rust 77.4%Language:Shell 18.1%Language:Ruby 4.5%