visual-studio-code - 当 VSCode 设置为 Git 编辑器时中止交互式 rebase

标签 visual-studio-code git-rebase git-interactive-rebase

我已将 VSCode 设置为我的 git 编辑器,详细说明 here .

当我尝试这样做时:git rebase HEAD~3 -i它会打开一个新的代码窗口,一旦交互式 rebase VSCode 窗口关闭包含触发命令的终端的窗口,就会开始执行 rebase。

据我了解 this编辑器需要触发错误代码以中止 rebase 。

我不确定在 VSCode 中是否有办法做到这一点,或者我是否需要在他们的 git 存储库中打开一个问题/增强功能?或者您是否应该清除所有行然后关闭它应该是相同的?这会中止吗?

最佳答案

我不确定在 VSCode 中是否有办法做到这一点
三年,应该有一种方法可以使用 VSCode 1.46 (May 2020) 中止/取消 rebase

Abort in progress rebase

You can now abort an in progress rebase operation using the Git: Abort Rebase command.


issue 99015 (来自 issue 72576 )和 PR 97071 .

关于visual-studio-code - 当 VSCode 设置为 Git 编辑器时中止交互式 rebase ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46308424/

相关文章:

git - 当 git rebase 两个具有共享历史的分支时,是否有一种简单的方法可以让共同的历史保持共同?

git - 在推送到远程之前重新设置本地 Git 分支

git - 我如何自动确定最佳提交以进行交互 rebase ?

android - flutter 错误sdkmanager错误!!! Windows 10

python - 如何在 vscode 中获取 jupyter notebook 主题

node.js - Node - 如何在 --watch 期间运行并行命令?

javascript - 有没有办法防止 VSCode 自动格式化在问号和单词之间添加空格

Git: "propagate" rebase 到同一根的其他分支