📜  git 从 git commit 中排除一些文件 - Shell-Bash 代码示例

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

代码示例1
To exclude some files from git commit
-----------------------------------------------
syntax  - git update-index --assume-unchanged 
example - git update-index --assume-unchanged default/config.php

To undo the above command
-----------------------------------------------
syntax  - git update-index --no-assume-unchanged 
example - git update-index --no-assume-unchanged default/config.php