使用 SourceTree 克隆存储库 [英] Cloning a repository with SourceTree

查看:29
本文介绍了使用 SourceTree 克隆存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能给我一个简单的使用 SourceTree 克隆存储库的快速演练?

Can someone give me a quick walkthrough on simply cloning a repo with SourceTree?

在书签中,我单击克隆存储库.对于源路径,我粘贴了如下所示的 URL:

In Bookmarks, I click on Clone Repository. For Source Path I paste in the URL which looks like this:

git@codebasehq.com:client/appname/ios-application.git

git@codebasehq.com:client/appname/ios-application.git

但我得到这不是有效的源路径/URL".

But I get "This is not a valid source path / URL".

我直接从代码库中的存储库浏览器复制,所以我知道 URL 是正确的.

I'm copying directly from the Repository Browser in codebase so I know the URL is correct.

我还需要做什么?

推荐答案

我的解决方案是将 Git 版本从使用嵌入式 Git"更改为使用系统 Git".因为我之前在我的电脑上安装了 GitHub,所以 SourceTree 似乎默认选择了那个 Git,而不是在安装时下载嵌入式版本.

My solution was to change the Git version from 'Use Embedded Git' to 'Use System Git'. Because I installed GitHub on my computer earlier, it seems SourceTree chose that Git by default rather than download the embedded version when it was installed.

这篇关于使用 SourceTree 克隆存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆