Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个受版本控制 (git) 的 Visual Studio 2008 数据库项目。当我尝试合并我的分支时,我在 project_name.dat 中遇到冲突。
所以我的问题是:
不,您不应该将它置于源代码控制之下,因为它是自动生成的。
离题但可能有用:
您应该配置您的 VCS,以便在提交期间忽略特殊文件和文件夹。我在 Windows 环境中使用 Subversion,唯一要做的就是在 %APPDATA%/subversion 中放置一个名为config的文件。
里面看起来像这样:
全局忽略 = \bin \obj .suo _ReSharper *.resharper *.user *.ncb \Debug \Release