Search code examples
c#gitgitignore

.gitignore with C# visual studio


I've just started this C# project Reversi, copied some C# .gitignore template into my folder. I've just done my first commit:

enter image description here

To my eyes it is saving wayy too many files with git, but I'm not sure what is and what is not neccesary. What should I add to the .gitignore to reduce the clutter but not throw away anything usefull?

Any help is greatly appreciated!!


Solution

  • From the files it looks like you are using Visual Studio. Try this gitignore: https://github.com/github/gitignore/blob/main/VisualStudio.gitignore