jonfer jonfer - 1 year ago 89
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 Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download