如何忽略 "脏" 的 git 子模块
编辑 .gitmodules 并向所有你想忽略 -dirty 状态的模块添加 ignore = dirty。
示例:
.gitmodules.example
[submodule "themes/tailbliss"]
path = themes/tailbliss
url = https://github.com/ulikoehler/tailbliss.git
ignore = dirtyCheck out similar posts by category:
Git
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow