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?
Top comments (1)
Nice command. I didn't know the .NET CLI had this feature. π
I have always used gitignore.io.