某个文件,例如src/components/MyUpload/index.vue进行git保存和提交失败
直接强制更新Git缓存

git rm --cached src/components/MyUpload/index.vue
git add src/components/MyUpload/index.vue
git commit -m "提交"
Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐