How to keep IDE configuration files out of code repository?
How can I keep 开发者_运维问答IDE configuration files out of a (svn) repository? The only way I can think of is with very specific "add" and "commit" commands.
Add the files to the svn:ignore property. This has the advantage of being part of the project configuration for everyone that checks it out, not just you.
Exclude (ignore) the *.suo
and *.user
files.
Since the question is tagged with eclipse, I'll speculate that you're perhaps using a plugin.
I use Subversive, and with that, the Windows=>Team=>Preferences=>Ignored Resources tab gives you the ability to filter.
Don't check them in (svn add
) in the first place.
精彩评论