git - 在 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
解决方案
推荐阅读
- python - 在特定字符串开始后查找方括号外的文本
- spring-boot - org.quartz.SchedulerException:没有触发器添加的作业必须是持久的
- c++ - 为什么可以只给带有引用的函数一个对象(而不是引用)?是否自动生成参考?
- sql - 动态从子查询中获取分区名称?
- ruby-on-rails - 为什么字段名称不正确?
- excel - 对此 VBA Excel 编译错误有什么建议吗?
- deep-learning - 基于变压器的解码
- r - seq_along 给出列号而不是行号
- android - 在自定义应用程序中从可穿戴设备获取数据
- sql - 多个内部联接中的第二个最近日期