How Do I Open A .Gitignore File In Visual Studio?

Open Visual Studio and the solution needing an ignore file. From the top menu select Git > Settings. The above will open Visual Studio’s Options with Source Control > Git Global Settings selected. From the list on the left select Git Repository Settings and then click the Add button for Ignore file.

gitignore in Visual Studio Code

gitignore

Create a Visual Studio .gitignore File the Easy Way!

I just learned about this new trick to

Github and Visual Studion ignore files

I will show you how to add a ignore