Home > Software design >  .gitignore with C# visual studio
.gitignore with C# visual studio

Time:10-14

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!!

CodePudding user response:

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

CodePudding user response:

I'd probably add .vs/ to .gitignore. The rest looks fine to me.

  • Related