<
Git 更新gitignore生效命令
>
上一篇

Git 查看修改用户名和邮箱地址
下一篇

Git 分支命令
git rm -r --cached .  #清除缓存
git add . #重新trace file
git commit -m "update .gitignore" #提交和注释

git push origin master #可选,如果需要同步到remote上的话

==============

git rm --cached --force "file_path"
Top
Foot