Reputation: 13653
I had a few files which I added to .git Ignore when they existed but they do not exist anymore. However, they are still listed in .gitignore.
when I do command git rm --cached
it says that file does not exist for the obvious reasons.
Is there a way that I can tell .gitignore so stop ignoring files that just do not exist anymore?
Upvotes: 1
Views: 346
Reputation: 1463
.gitignore is just a file which is in your repository. Edit the file, remove the lines which specify the files you don't want, and commit .gitigore.
Upvotes: 0