gpt4 book ai didi

bash - 考虑到标准 Git 排除,列出所有跟踪和未跟踪的文件

转载 作者:行者123 更新时间:2023-12-05 04:38:34 27 4
gpt4 key购买 nike

考虑到标准 Git 排除,如 (.git/info/exclude, .gitignore),有没有办法列出所有跟踪未跟踪 文件?

最佳答案

我们可以通过 git ls-files 使用 bash 分组命令

{ git ls-files  --exclude-standard --other;  git ls-files }

关于bash - 考虑到标准 Git 排除,列出所有跟踪和未跟踪的文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70577858/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com