gpt4 book ai didi

cvs - .cvsignore 可以排除在递归子目录中找到的模式吗?

转载 作者:行者123 更新时间:2023-12-02 13:03:21 27 4
gpt4 key购买 nike

我可以创建一个 .cvsignore 文件来排除当前目录的特定模式并递归地排除所有子目录吗?基本上我想说在我的 cvs 模块顶部排除所有 *.swp 或 *.bak 文件,而不必为每个子目录创建一个新的 .cvsignore。

我认为这种行为与 Mercurial 的 .hgignore 文件类似。

最佳答案

CVS docs列出几种解决方案。对于您的情况,如果您可以访问服务器上的 $CVSROOT,则以下内容最适用:

  • The per-repository list in $CVSROOT/CVSROOT/cvsignore is appended to the list, if that file exists.

如果您无法访问 $CVSROOT,那么您可以使用那里列出的其他选项,例如:

  • The per-user list in .cvsignore in your home directory is appended to the list, if it exists.

  • Any entries in the environment variable $CVSIGNORE is appended to the list.

关于cvs - .cvsignore 可以排除在递归子目录中找到的模式吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1160887/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com