I have a solution with two projects in VS 2015, and I want to remove the obj and bin directories from version control.
From the beginning, my .gitignore
has the following:
[Dd]ebug/
[Rr]elease/
[Bb]in/
[Oo]bj/
*.obj
*.exe
When I follow the advice in this question and this one and this one, the files are removed.
But the next time I compile, they are added to the project again.
What am I doing wrong, and how can I get rid of those directories permanently?
Edit
To be clear, the question relates to the git interface offered within VS2015.