I’m using git in my ASP.NET MVC project.
I want no files from debug
, bin
or config
folder to show in the “Pending Chages” dialog so I will not have to commit them to my repository.
These files are machine specific specially the config folder.
I tried to add the following to .gitignore
:
myproject\bin**
myproject\obj**
myproject\config\**
This did not work because all files under all three folders are still displayed after each build or config changes.
What am I doing wrong?