gitignore/README.md

34 lines
732 B
Markdown
Raw Normal View History

2022-10-20 23:43:33 +02:00
# 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
```bash
2022-10-21 00:25:14 +02:00
found .gitignore .../some-path/.gitignore
2022-10-20 23:43:33 +02:00
Added node_modules/ to .gitignore
2022-10-21 00:25:14 +02:00
Removed node_modules/ from git index
```
2022-10-20 23:43:33 +02:00
2022-10-21 00:25:14 +02:00
```bash
$ git ignore 'node_modules/'
found .gitignore .../some-path/.gitignore
Added node_modules/ to .gitignore
Removed node_modules/ from git index
2022-10-20 23:43:33 +02:00
```
2022-10-21 00:26:35 +02:00
## Installation
### Cargo
Cargo will only pull the `gitignore` command and won't add a subcommand to `git.
```bash
$ cargo install kjuulh/gitignore
```
### Homebrew
TBA