Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Set up .gitignore file for .NET project

enter image description here
Can you please tell me how to set .gitignore in such a way that only the project and source code files remain when committing a .NET project?

I just try set up my .gitignore)))

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You could use https://gitignore.io

And will end up with something looking like that:
https://www.toptal.com/developers/gitignore/api/visualstudio,csharp,dotnetcore,aspnetcore

Other solution:
https://github.com/github/gitignore/blob/main/VisualStudio.gitignore

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading