Reputation: 26036
I am using Visual Studio 2015 CTP and it is generating a new folder named <project>.sln.ide\
with a few files in it such as:
edb.chk
edb.log
edbres00001.jrs
edbres00002.jrs
edbtmp.log
storage.ide
Should I add these files (or the entire folder) into my .gitignore
?
If it should be added into .gitignore
what would be the proper syntax? I guess *.sln.ide\
would be good?
Upvotes: 7
Views: 1097
Reputation: 106508
Any files that the other collaborators don't need to have in their environment to compile the source code should be placed into the .gitignore
file. If you're certain that the other collaborators are using the same IDE as yours, you should place that entire folder there.
The expression **.ide/
works to block that directory.
Now, if you're not sure if everyone is going to use the same IDE, you can place the same expression inside of .git/info/exclude
, which will create an exclusion entry exclusively for you on this project.
Upvotes: 4
Reputation: 1254
You should exclude the "*.ide" folder(s).
From Microsoft: "It also contains a “.sln.ide” folder which is used by Roslyn Compiler engine to store temporary files. This folder should be excluded from the source control system normally."
The "default" .gitignore for Visual Studio found on GitHub includes an exclusion for "*.ide", as seen here.
Upvotes: 5