- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我看过很少的网络帖子和解决方案,但似乎不起作用。我错过了显而易见的事情吗?这就是我所拥有的
在解决方案级别,而不是包所在的位置我有一个如下图所示的文件夹
.tfignore 包含以下内容
# Ignore NuGet Packages
*.nupkg
# Ignore the NuGet packages folder in the root of the repository. If needed, prefix 'packages'
# with additional folder names if it's not in the same folder as .tfignore.
packages
# Omit temporary files
project.lock.json
project.assets.json
*.nuget.props
nuget.config.xml 包含
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<solution>
<add key="disableSourceControlIntegration" value="true" />
</solution>
</configuration>
当我尝试在 Visual Studio 2017 中 checkin 项目时,它仍然显示所有包。
有人可以帮我解决我做错的事情吗?
谢谢
最佳答案
根据您的屏幕截图,您使用的 .tfignore
文件不正确。此文件没有任何后缀。创建它的一种方法,建议您使用 "tfignore"重命名一个 new.txt 文件。
它会自动更改为正确的 .tfignore 文件。
您也可以使用自动生成的.tfignore 文件,按照my answer 中的以下步骤操作在这里。
关于.tfignore
文件的更多详细信息请引用tutorial .
注意:这个 .tfignore
文件不会影响那些已经在源代码管理中的文件。您需要先将它们从源代码管理中删除。还要确保您的 .tfignore 文件已 checkin 源代码管理。
关于tfs - .tfignore 与 2017 相比不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49316977/
是否可以使用 .tfignore将通配符添加到目录?我认为这只是在目录段中添加星号通配符的情况。例如: \path\*\local.properties 但是,这不起作用,我不确定如果不明确声明我需要
我有一个如下所示的 .tfIgnore 文件,其中已经 checkin 了 \xx.Phoenix.Web\bower_components \xx.Phoenix.Web\node_modules
我有以下文件夹结构: foo1/ node_modules/ foo2/ node_modules/ bar/ node_modules/ .tfignore 单.tfignore
Visual Studio 2017 (v15.9.9)。 我似乎无法弄清楚如何创建 .tfignore 文件。如果我手动执行,Windows 会告诉我需要添加文件名。而且我没有看到任何地方通过 ID
我看过其他帖子并在 stackoverflow 上阅读过 - How to ignore files/directories in TFS for avoiding them to go to cen
我看过很少的网络帖子和解决方案,但似乎不起作用。我错过了显而易见的事情吗?这就是我所拥有的 在解决方案级别,而不是包所在的位置我有一个如下图所示的文件夹 .tfignore 包含以下内容 # Igno
我按照 this Microsoft article 中的说明进行操作, 但它们不起作用。 我创建了 .tfignore 文件,把它放在根目录下,这里是它的内容(我想排除这些文件夹)。 当我打开 Te
我正在将 Visual Studio 2013 与 TFS 2013 一起使用。我一直在尝试将文件夹中的所有文件都放在不使用 .tfignore checkin 的文件夹中,并且经过数小时的搜索和尝试
这是我的 .tfignore。它在分支的根目录中并提交给 TFS,但它从未兑现。我想我在阅读 TechNet's article on the .tfignore file 时遗漏了一些我不清楚的句法
我正在拉我的头发,试图得到 tfIgnore工作在Visual Studio 2013 . 我按照这里的说明操作:bottom of this article并像这样排除我的包文件: \folderA
在使用 TFVC 和 Visual Studio 2015 处理 ASP.NET 5 项目时,我们注意到添加尝试排除 wwwroot 目录中的文件夹和文件的 .tfignore 文件仍然在团队资源管理
如何将以下 gitignore 文件转换为 tfignore 文件。我使用 TFS 进行源代码控制,并且不想将这些文件 checkin ,因为目录非常大 这是 gitignore 文件: # Spec
我在忽略 VS 2012 中的文件时遇到了一些问题,想知道是否有人可以提供帮助。本质上,我试图做的是忽略解决方案中项目中的 Web.config 文件。 我知道“排除”文件的能力,但我想要更强大的东西
我是一名优秀的程序员,十分优秀!