Sourcetree gitlab 克隆不适用于 url

Sourcetree gitlab clone not working for url

如果我想使用 SourceTree 克隆我的存储库,我总是会收到错误 "path is incorrect"?

任何想法: 我的 git 实验室路径: git@gitlab.com:danielmauch/myapp.git

您必须使用项目主页上列出的 URL。

最有可能是:https://gitlab.com/danielmauch/myapp.git

您可以将 sourcetree 与托管在 gitlab 上的存储库一起使用。

首先,您需要在 cli 中将 repo 克隆到本地。例如:

git clone https://username:passsword@gitlab.com/exiang/midian.git midian

完成后,打开 sourcetree GUI,单击“+ 新存储库”,然后 "Add existing local repo" 和 select 您的本地文件夹(在本例中:"midian")