
vscode更新代码异常记录
原创2025年3月26日小于 1 分钟
记录 Markdown 遇到的问题
Please clean your repository working tree before checkout
原因: > 有时候在写代码前未更新远程代码,会出现代码冲突。
1.git stash 先将本地修改存储起来
2.git pull 拉取远程,这一步骤在 vscode 执行会快很多
3.git stash pop 还原暂存内容
原因: > 有时候在写代码前未更新远程代码,会出现代码冲突。
1.git stash 先将本地修改存储起来
2.git pull 拉取远程,这一步骤在 vscode 执行会快很多
3.git stash pop 还原暂存内容