Git – .gitignore for Visual Studio Projects and Solutions

gitgitignorevisual-studiovisual-studio-2012

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

Best Solution

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