2017-08-07 95 views
1

我已經將git客戶端從2.13.3.windows.1更新爲2.14.0.windows.1最近。在此之後,我不能再成功執行任何混帳命令Bitbucket 5.0.0與git不兼容2.14.0

$ 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. 

通過內部部署到位桶5.0服務器實例託管庫,如:目前唯一的解決辦法克服的問題是降級到混帳2.13.3.windows.1

我該如何解決這個問題,以便能夠在Bitbucket 5.0中使用最新的git客戶端?

+0

我不知道是什麼問題,但在升級到位桶服務器可能是一個好主意。我建議至少升級到版本5.0的最新補丁版本,[在編寫本文時似乎爲5.0.6](https://confluence.atlassian.com/bitbucketserver/bitbucket-server-5-0 - 釋放 - 筆記 - 889528342.html)。最新的5.x版本[在編寫本文時似乎是Bitbucket Server 5.2.2](https://confluence.atlassian.com/bitbucketserver/bitbucket-server-5-2-release-notes-917966093.html) 。 – Chris

+0

Thx的建議。雖然它似乎是最簡單的解決方案,但是公司公司使用Bitbucket服務器,因此升級目前不是一種選擇。 –

回答

4

編輯2Git for windows 2.14.0.windows2已發佈修復此問題。

編輯:正如related Bitbucket Server issue中所述,這是Git For Windows問題。導致錯誤的變化被恢復。 請參閱https://git.io/v7KIb

好的舉措是現在降級到Git 2.13,然後等待2.14.1錯誤修復發佈。

原來的答覆:

這可能是有些問題已經關於此錯誤的Atlassian's Jira被創建在服務器到位桶5的錯誤。例如,BSERV-10011BSERV-10013都是在幾個小時前創建的。

您應等待Bitbucker服務器更新。

+0

將在Git中修復請參閱https://github.com/git-for-windows/git/commit/0f3342804fc6fa558a7c9e220e7e9ab4c86e8226和https://github.com/git-for-windows/git/issues/1258 – robotroll

+0

很高興知道。所以當連接到另一臺服務器(github,gitlab,gogs等)時會出現同樣的錯誤? – Antwane