The easiest and best way to create the gitignore file for .Net repositories

RMAG news

Have you ever had to google “gitignore file for .Net apps”, copy and manually create it into your repository?

That was a common situation to me before I found out a easiest (and better) way to do that.

Basically instead the manual path, you can simply use the .NET CLI to do that automatically for you, just type the command below:

dotnet new gitignore

Done! The .NET CLI created the .gitignore for you.

It was pretty simple, right?

Leave a Reply

Your email address will not be published. Required fields are marked *