首页 > 解决方案 > 在 Visual Studio Code 中尝试“git revert”时出错

问题描述

从更新的分支开始,我收到了这个错误。帮助将不胜感激。

PS D:\Projects\github\branchexplorer> git revert b578543e3daa17683029bd349103569fe92620e4

Removing originMasterFile02
hint: Waiting for your editor to close the file... 'C:\Users\Mitch\AppData\Local\Programs\Microsoft VS Code\Code.exe' --wait: C:\Users\acct\AppData\Local\Programs\Microsoft VS Code\Code.exe: No such file or directory
error: There was a problem with the editor ''C:\Users\acct\AppData\Local\Programs\Microsoft VS Code\Code.exe' --wait'.
Please supply the message using either -m or -F option.
git status
On branch master
Your branch is up to date with 'origin/master'.

Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
        deleted:    originMasterFile02

标签: gitvisual-studio-codewaitgit-revert

解决方案


推荐阅读