【发布时间】: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 客户端?
【问题讨论】:
-
我不知道问题是什么,但是升级Bitbucket服务器可能是个好主意。我建议至少升级到 5.0 版的最新补丁版本,appears to be 5.0.6 at the time of writing。最新的 5.x 版本appears to be Bitbucket Server 5.2.2 at the time of writing。
-
感谢您的建议。虽然它似乎是最简单的解决方案,但公司公司使用 Bitbucket 服务器,因此目前无法选择升级。
标签: git bitbucket bitbucket-server