21 lines
574 B
Markdown
21 lines
574 B
Markdown
# 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
|
|
found .gitignore .../some-path/.gitignore
|
|
found .gitignore
|
|
Added node_modules/ to .gitignore
|
|
Removed node_modules/ from git index
|
|
```
|
|
|
|
```bash
|
|
$ git ignore 'node_modules/'
|
|
found .gitignore .../some-path/.gitignore
|
|
Added node_modules/ to .gitignore
|
|
Removed node_modules/ from git index
|
|
```
|