Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (19.4k points)

Which files should I include in .gitignore when using Git in conjunction with Visual Studio Solutions (.sln) and Projects?

1 Answer

0 votes
by (27.5k points)

Probably this is the easiest way. In Visual Studio 2017, 

Step 1: First right click on the solution file

Step 2: Then, select 'Add solution to source control'.

See the following image:

enter image description here

The following files will be added to your source folder.

  • .gitattributes
  • .gitignore

Browse Categories

...