Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Team member cannot clone repo from BitBucket?

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:

  1. generated public SSH keys, adding SSH keys to his BitBucket, nothing happened
  2. generated private keys with passphrase, etc etc, nothing happened
  3. I sent him my public-key file, he tried loading that, nothing happened

It appears to be a "SSH authentication" error but we have run out of options as to what to do! Any suggestions advice?

like image 879
user2979010 Avatar asked Mar 19 '14 12:03

user2979010


People also ask

How do I clone a repository in Bitbucket?

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.

How do I share a repository to another user in Bitbucket?

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.

How do I clone a repository from Bitbucket using SSH?

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.


1 Answers

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.

like image 85
LoicAG Avatar answered Oct 05 '22 18:10

LoicAG