git命令列出被忽略的文件是什么? [英] What is the git command to list ignored files?
本文介绍了git命令列出被忽略的文件是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的netbeans IDE以不同的颜色显示被忽略的文件. 我想,IDE通过使用一些git命令知道了这一点.
My netbeans IDE shows ignored files on a different color. I presume, the IDE is knowing this by using some git command.
我想知道项目文件夹和子文件夹中的哪些文件被忽略了.
I wish to know what files on a project folder and subfolders are being ignored.
我们应该使用什么命令?
What command should we use?
推荐答案
git status --ignored
将显示所有未跟踪的文件.它还包括正常状态输出.似乎没有状态选项仅显示被忽略的文件.
git status --ignored
will show all untracked files. It also includes the normal status output. There does not appear to be a status option to only show the ignored files.
这篇关于git命令列出被忽略的文件是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文