簡體   English   中英

URL bitbucket 提供在 SourceTree 中無效

[英]The URL bitbucket provides is invalid in SourceTree

URL Bitbucket 提供在 SourceTree 中無效

當我嘗試將存儲庫克隆到我的本地計算機時,URL Bitbucket 提供的只是錯誤的。 該網站為我提供了這樣的 URL: https://pelletierscott@bitbucket.org/pelletierscott/repo.ZBA9F11ECC3497D9993B933FDC2BD61E5

我可以從瀏覽器手動獲取正確的 URL,如下所示: https://bitbucket.org/pelletierscott/repo/src/master/

Bitbucket 有專門的服務來將 repo 添加到 SourceTree,但它也有同樣的問題。 我錯過了什么,我不了解這個過程嗎?

當我嘗試將存儲庫克隆到我的本地計算機時,URL Bitbucket 提供的只是錯誤的。

No, you are wrong: default URL for your repository on BB https://bitbucket.org/pelletierscott/portfolio.git is perfectly valid and correct, while https://bitbucket.org/pelletierscott/repo/src/master/ is只是回購的可能網絡視圖之一

Bitbucket 有專門的服務將 repo 添加到 SourceTree 但它有同樣的問題

又錯了:

  1. 不是BB服務,只是特制的URL,自帶協議和參數
  2. SourceTree 的 URL sourcetree://cloneRepo?cloneUrl=https%3A%2F%2Fbitbucket.org%2Fpelletierscott%2Fportfolio.git&type=bitbucket以及所有其他已知和未知協議必須由您的本地操作系統處理,這必須在完全正確安裝SourceTree 后知道如何操作

無論如何,您始終可以使用 Atlassian 文檔中的方法 1

我可以從瀏覽器手動獲取正確的 URL,如下所示: https://bitbucket.org/pelletierscott/repo/src/master/

這不是與 Sourcetree 或 git 一起使用的正確 URL。 相反,單擊存儲庫主頁右上角的克隆按鈕並復制URL。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM