How to access the .gitignore file in Visual Studio?

  1. Open the Team Explorer window in Solution Explorer.
  2. From there, Navigate to Settings.











  3. There, click Repository Settings.











  4. There, in the Git files section, click Edit to edit the gitignore file.

Comments