Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cloning a repository with SourceTree

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

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

[email protected]:client/appname/ios-application.git

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

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

What else do I need to do?

like image 520
soleil Avatar asked Dec 28 '12 16:12

soleil


People also ask

How do I clone a Bitbucket repository?

Clone a Bitbucket repositoryClick + in the global sidebar on the left, and under Get to work select Clone this repository. Select HTTPS from the menu in the upper-right (unless you've already set up your SSH keys). Copy the clone command.


1 Answers

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.

like image 123
Y Zhang Avatar answered Oct 04 '22 04:10

Y Zhang