.gitignore for Visual Studio Projects and Solutions

Martin Suchanek picture Martin Suchanek · Jan 27, 2010 · Viewed 404k times · Source

Which files should I include in .gitignore when using Git in conjunction with Visual Studio Solutions (.sln) and Projects?

Answer

Chronial picture Chronial · Jan 13, 2012

See the official GitHub's "Collection of useful .gitignore templates".

The .gitignore for Visual Studio can be found here:
https://github.com/github/gitignore/blob/master/VisualStudio.gitignore