暂时忽略 subversion 忽略设置 [英] Temporarily ignore subversion ignore settings

查看:32
本文介绍了暂时忽略 subversion 忽略设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一堆通常要忽略的文件,因此我在全局忽略和文件夹属性忽略列表中列出了文件扩展名.但是,我一次性需要查看工作副本中的所有未版本化文件,即使是那些我通常想忽略的文件.如果不清除全局忽略,然后删除忽略文件夹属性,进行检查,然后重新添加忽略属性和全局字符串,我就想不出一种简单的方法来执行此操作.

I have a bunch of files that I normally want to ignore so I have the file extensions listed in my global ignore as well as on the folder properties ignore list. However, I have a one-time need to see all unversioned files in my working copy, even those I normally want to ignore. I can't figure out an easy way to do this without clearing out my global ignore, and then removing the ignore folder properties, doing my check, and then adding the ignore property and global string back in.

是否有一些简单的方法可以在我的工作副本中查看(并提交)所有未版本化文件的列表,而不管它们是否应该被忽略?

Is there some easy way to just see a list of (and commit) all unversioned files in my working copy no matter if they should be ignored or not?

推荐答案

为什么在执行 svn add 时不使用 --no-ignore 标志?

Why don't you use the --no-ignore flag while doing svn add ?

--no-ignore : 忽略默认值和 svn:ignore 属性忽略

尝试执行以下操作:

 svn add --force --no-ignore .

请注意,您必须小心添加哪些文件.

Note that you have to careful about what files get added.

这篇关于暂时忽略 subversion 忽略设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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