I am quite new to BitBucket/SourceTree, infact I am quite new to GIT!
I created a BitBucket account couple of days ago, created a private repo and invited one other user (with WRITE permission).
On my machine, I opened SourceTree, generated SSH key, added SSH key to BitBucket, voila, repo cloned, everything works.
My friend (whom I invited to share the repo with) can edit/view/download the repo contents on BitBucket. However, he is unable to "clone via SourceTree"
He is on Windows 7.
So far, he has tried:
It appears to be a "SSH authentication" error but we have run out of options as to what to do! Any suggestions advice?
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.
From the repository you want to transfer, click Repository settings in the left menu. On the Repository details page, click Manage repository located at the top-right corner of the screen. Click Transfer repository. Enter the Workspace ID of the workspace in which you want to transfer the repository.
Use SSH keys to connect to Bitbucket repositoriesGo to Projects, click a project, and choose a repository from the list. Click Clone in the sidebar to see the clone URLs for the repository. Choose the clone URL you want to use. SSH is available if you have already added an SSH key to your account.
As an alternative solution, you can try using the HTTPS URL provided by BitBucket, which looks something like https://[email protected]/owner/project.git
This method is password-based, and allows you to work without having to configure SSH access.
Edit
I just checked on the BitBucket website and realised that their "Clone in SourceTree" button doesn't allow you to select the HTTPS URL. To do so, start from SourceTree, click on "Clone / New", and copy the HTTPS URL in the "Source Path / URL" Field.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With