Quickly Create .gitignore File
Create a pre-populated .gitignore file via the dotnet CLI.
If you want to quickly create a .gitignore
file that has dotnet specifics pre-populated, know that you can create a gitignore file via the dotnet command line. In a command prompt, just navigate to the directory where you'd like the gitignore file to be created and use this command:
dotnet new gitignore