VsCode git提交报错 Your local changes to the following files would be overwritten by merge

VsCode git提交报错 Your local changes to the following files would be overwritten by merge

最近使用 VsCode  上传代码到Git  ,,这个问题 印象里已经出了不下三次了。。

这个问题我理解大概是你本地代码有更新的内容了,与Git服务器上的代码也被更新了,这时候直接更新就会产生冲突了。

所以通过使用Vscode   先把本地的代码 Commit 

VsCode git提交报错 Your local changes to the following files would be overwritten by merge

再push  。。

VsCode git提交报错 Your local changes to the following files would be overwritten by merge

最后再进行pull。。。

VsCode git提交报错 Your local changes to the following files would be overwritten by merge

Vscode 这个idea  刚开始使用,到处都是坑