如何检查由于.hgignore而忽略了哪些文件? [英] How to check which files are being ignored because of .hgignore?

查看:71
本文介绍了如何检查由于.hgignore而忽略了哪些文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我经常担心我的hgignore文件可能排除重要文件.例如,我刚刚注意到我排除了所有.exe文件,其中排除了一些应与源代码一起保存的小可执行工具.包含它们是一个简单的更改,但是让我担心规则可能会带来意想不到的后果.

I'm quite often concerned that my hgignore file may be excluding important files. For example I just noticed that I was excluding all .exe files which excluded some little executable tools which should be kept with the source. It was a simple change to include them but makes me worried that the rules could have un-intended consequences.

是否可以查看由于.hgignore文件而未被跟踪的所有文件的列表?以便我可以定期查看列表以检查自己是否满意.

Is there a way to view a list of all the files which are not being tracked due to the .hgignore file? Just so I can periodically review the list to check I'm happy with it.

推荐答案

命令hg status -i正是这样做的.

这篇关于如何检查由于.hgignore而忽略了哪些文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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