gitignore/README.md

21 lines
574 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
found .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
```