jonfer jonfer - 2 months ago 8
Git Question

Git is not detecting a file and is not in .gitignore

I have a file called "style.css" and git is not detecting it. It doesn't detect it if I delete it either, but it does detect if I change the name of the file. But I need it with that name.
The file is not in the .gitignore file. This is driving me crazy!

I would appreciate some help.

Answer

The file could also be listed in .git/info/exclude, and there’s the option core.excludesfile to watch, too.

Comments