What’s the common practice of gitignore for aspnet core project

Question:

I know it depends on the project but i want to learn is there a common practice for typical asp.net core project(such as ignoring node_modules).

Answer:

This is standard .gitignore for ASP.NET projects, it combines things from .NET Core and Visual Studio. Taken from official yo-generator-aspnet from Omnisharp.

Source: https://raw.githubusercontent.com/OmniSharp/generator-aspnet/master/templates/gitignore.txt

Leave a Reply