📌  相关文章
📜  git 不会忽略文件 - Shell-Bash 代码示例

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

代码示例3
In order to actually ignore the file, you have to untrack it and remove it from the repository. You can do that by using git rm --cached sites/default/settings.php. This removes the file from the repository without physically deleting the file (that’s what the --cached does). After committing that change, the file will be removed from the repository, and ignoring it should work properly.