How to know which part of .gitignore that is actually responsible for ignoring some file?

你。 提交于 2019-12-06 07:46:01

To make sure why this file is being ignored, type:

git check-ignore -v -- path/to/FileX

You will see the actual .gitignore file responsible for its current ignored state.
If the output of that command is empty, that means the file is simply untracked, ready to be added.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!