git已提交的文件如何忽略

git已提交的文件如何忽略

直接在.gitignore文件中添加忽略文件不起作用,需要先执行以下命令 git rm -r --cached . 然后重新提交才行 git add . 提交 git commit -m 重新提交 push git push…
2年前 (2024-07-26)915