有没有人在将文件夹与 git diff --no-index 进行比较时如何排除文件?似乎这个选项
':(exclude)*.min.css'
不适用于无索引(在工作树之外)
最佳答案
pathspec :(exclude) and its short form :! or :^仅在 Git 工作树中可用。
所以:
git diff --no-index
在 find -exec
command with exclude directives . 关于git diff noindex 排除文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53471209/