【问题标题】:Bitbucket 5.0.0 is not compatible with git 2.14.0Bitbucket 5.0.0 与 git 2.14.0 不兼容
【发布时间】:2018-01-14 17:56:13
【问题描述】:

我最近将 git 客户端从 2.13.3.windows.1 更新为 2.14.0.windows.1。在此之后,我无法再成功地对本地 Bitbucket 5.0 服务器实例托管的存储库执行任何 git 命令,例如:

$ git pull
Bitbucket cannot not execute "git upload-pack '/best/[redacted].git'". The command is not supported as entered.

Ensure you are using a supported SCM, check the syntax and try again.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

目前解决该问题的唯一解决方案是降级回 git 2.13.3.windows.1

如何解决这个问题,以便能够在 Bitbucket 5.0 中使用最新的 git 客户端?

【问题讨论】:

标签: git bitbucket bitbucket-server


【解决方案1】:

Edit2 Git for windows 2.14.0.windows2 已发布,已修复此问题。

编辑: 正如related Bitbucket Server issue 中所述,这是一个 Git For Windows 问题。导致错误的更改已恢复。 见https://git.io/v7KIb

最好的办法是现在降级到 Git 2.13,然后等待 2.14.1 的错误修复发布。

原答案:

这可能是 Bitbucket Server 5 中的一个错误。Atlassian's Jira 上已针对此错误创建了一些问题。例如,BSERV-10011BSERV-10013 都是在几个小时前创建的。

您应该等待 Bitbucker 服务器更新。

【讨论】:

【解决方案2】:

您好,您可以在这里下载带有错误修复的第二个版本:https://git-for-windows.github.io/

【讨论】:

    猜你喜欢
    • 2021-02-27
    • 2021-03-04
    • 1970-01-01
    • 1970-01-01
    • 2022-01-13
    • 2021-02-13
    • 2022-01-22
    • 2021-08-25
    • 2021-03-13
    相关资源
    最近更新 更多