赞
踩
问题:
原因:
VSCode git拉取代码,提示:在签出前,请清理存储库工作树。
有时候在写代码前未更新远程代码,会出现代码冲突。
解决:
1.git stash 先将本地修改存储起来 2.git pull 拉取远程 3.git stash pop 还原暂存内容
最后在提交代码就ok拉