默认情况下,TFS 中会忽略哪些文件? [英] What files are ignored in TFS by default?

查看:40
本文介绍了默认情况下,TFS 中会忽略哪些文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在哪里可以找到默认情况下被 TFS 忽略的文件的完整列表(例如 *.dll、*.log 等)?我看到它用于 GIT,但不是用于本机"版本控制.我还看到了很多链接,描述了如何创建本地 .tfignore 并在那里编写

Where can I find the complete list of files ignored by TFS by default (like *.dll, *.log, etc)? I saw it for GIT, but not for a "native" version control. I also saw a lot of links describing how to create your local .tfignore and write there

# 不要忽略此文件夹及其任何子文件夹中的 .dll 文件!*.dll

例如link,但是我在哪里可以看到已经预定义的列出如果系统上没有指定/存在自定义 .tfignore,TFS 将排除哪些文件?

e.g. link, but where can I see already pre-defined list what files will be excluded by TFS if there is no custom .tfignore specified/present on the system?

推荐答案

可以参考"C:\Users\youraccount\AppData\Local\Microsoft\Team Foundation 路径下的"LocalItemExclusions.config"文件\x.0\Configuration\VersionControl"文件夹并打开".(可能有多个文件夹命名为 1.0、2.0、3.0,您需要确保打开与您的 TFS 版本匹配的文件夹.)

You could refer to the "LocalItemExclusions.config" file under the path "C:\Users\youraccount\AppData\Local\Microsoft\Team Foundation\x.0\Configuration\VersionControl" folder and open". (There may several folders named like 1.0, 2.0, 3.0, you need to make sure open the folder that match your TFS version.)

您可以看到这些文件夹和文件类型在默认情况下被忽略,并在该文件中定义.

You could see that these folder and files types are ignored by default and they are defined in that file.

      <Exclusion>bin</Exclusion>
      <Exclusion>obj</Exclusion>
      <Exclusion>*.exe</Exclusion>

这篇关于默认情况下,TFS 中会忽略哪些文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆