vscode要切换分支,但是代码不想提交如何做

git stash 将代码暂存

切换分支操作完成后,再切换回来时,git stash apply

posted @ 2024-07-29 16:35  鹿俊俊  阅读(156)  评论(0)    收藏  举报