Jed
Jed

Reputation: 1074

Untracked files in git using visual studio 2015

I have some files that are being committed and pushed to repo right now but suddenly I want to ignore them. I added on gitignore but it doesn't work. Apparently it doesn't work cause these files are already being track and can't be ignored.

My question is how do I untrack it using VS 2015? Hope someone can help me.

Thanks

Upvotes: 1

Views: 3869

Answers (1)

Philippe
Philippe

Reputation: 31117

You have to delete them and commit that deletion. And then, after, if they are really needed, recreate them (or because you're smart, move out of the folder, commissioned the delete and move back).

Upvotes: 1

Related Questions