Bitbucket 5.0.0 与 git 2.14.0 不兼容

Bitbucket 5.0.0 is not compatible with git 2.14.0

我最近已将 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.

我该如何解决这个问题才能将最新的 git 客户端与 Bitbucket 5.0 一起使用?

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

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

最好暂时降级到 Git 2.13,等待 2.14.1 错误修复版本发布。

原回答:

这可能是 Bitbucket Server 5 中的错误。Atlassian's Jira regarding this error. As an example, BSERV-10011 and BSERV-10013 上的一些问题都是几个小时前创建的。

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

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