📜  git commit 排除一个文件 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:41.310000             🧑  作者: Mango

代码示例1
git update-index --assume-unchanged "main/dontcheckmein.txt"

/*and to undo that*/
git update-index --no-assume-unchanged "main/dontcheckmein.txt"