Blog Archive for November 8, 2018

Debugging gitignore

November 8, 2018

If you have a file being ignored by git and you try to add it, you'll get a message something like this:

The following paths are ignored by one of your .gitignore files:
web/scripts/blah.txt
Use -f if you really want to add them.

To find out what line in gitignore …