【问题标题】:A rebase operation is in process in VS 2017VS 2017 中正在进行 rebase 操作
【发布时间】:2019-01-02 14:10:37
【问题描述】:

我无法通过我的 Visual Studio 2017 提交任何代码,但我可以使用其他 Git 工具提交。有什么办法可以重置或解决这个问题?

这是我得到的:

【问题讨论】:

  • 转到命令行并继续或中止变基?

标签: git visual-studio-2017 team-explorer


【解决方案1】:

您的存储库中正在进行 rebase 操作。您需要继续它(git rebase --continue)或中止它(git rebase --abort)。

【讨论】:

  • 好的,但是为什么使用 Git 扩展我能够提交?
【解决方案2】:

关闭所有打开的 Visual Studio 实例,

打开命令提示符,

使用以下命令转到本地存储库的位置:

cd "localRepositoryRootPath"

退出当前正在进行的任何变基工作:

git rebase --quit

重新打开 Visual Studio。

它还应该解决您在运行时收到此消息的情况: git rebase --abort

警告:无法读取“.git/rebase-merge/head-name”:没有这样的文件或 目录

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-01-04
    • 1970-01-01
    • 1970-01-01
    • 2023-03-15
    • 1970-01-01
    • 1970-01-01
    • 2017-12-07
    • 1970-01-01
    相关资源
    最近更新 更多