且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何让 TFS 忽略具有特定名称的所有文件夹

更新时间:2023-11-30 11:28:58

您可以将 .vs 声明放在 .tfignore 文件中,该文件位于所有解决方案文件.这将优先于较低的文件.

You can put a .vs declaration in a .tfignore file that is in the parent folder of all solution files. This will take precedence over lower files.

不需要诸如 * 之类的通配符.此外,.tfignore 文件使用反斜杠 \ 而不是 /.

No wildcards such as * are required. Also, .tfignore files use backslashes \ instead of /.