Do I need the .dat file when I place a visual studio database project under version-control

浪尽此生 提交于 2019-12-07 08:20:18

问题


I have a visual studio 2008 database project that is under version control (git). I am getting conflicts in the project_name.dat when I try to merge my branches.

So my questions ares:

  1. What is the project_name.dat file?
  2. Do I need it? That is can I leave it out of my version control

回答1:


No , you shouldn't have it under sourcecontrol as it's autogenerated.




回答2:


Offtopic but maybe useful:

You should configure your VCS so that special files and folders will be ignored during your commit. I use Subversion in a Windows environment and the only thing to do is to put a file called config in %APPDATA%/subversion.

Inside it look like this:

global-ignores = \bin \obj .suo _ReSharper *.resharper *.user *.ncb \Debug \Release



来源:https://stackoverflow.com/questions/1122151/do-i-need-the-dat-file-when-i-place-a-visual-studio-database-project-under-vers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!