.netgitgitignore

How could I ignore bin and obj folders from git repository?


I want to ignore bin and obj folders from my git repository. As I've found out, there is no easy way to do this in .gitignore. So, are there any other way? Using clean solution in Visual Studio?


Solution

  • I'm not sure why this doesn't work for you. In case it helps, here's a typical .gitignore file from one of my Visual Studio/git projects:

    *.suo
    *.user
    _ReSharper.*
    bin
    obj
    packages