git 忽略版本控制文件

yangzailu / 2024-10-06 / 原文

###忽略版本控制

git rm --cached filename(文件名)
git commit -m "Remove ignored file"