Reputation: 57
When I created a C++ console project in Visual Studio, I found that besides .cpp
files, I had other files like .sln
, .vcxproj
, .filters
, .user
.
Should I add them to Git repo?
Upvotes: 1
Views: 631
Reputation: 825
You can download a .gitignore
for Visual Studio. It will make sure only what's necessary to open and work on the project would be tracked, the rest would be ignored.
You can download one from here:
https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
Upvotes: 3