Hello, I'm trying to import our existing git repo into bitbucket.
In the Import promt of bitbucket I specify the clone URL as :
git clone git+ssh://our.git.server/d2/git/pending/vp
We use this often to clone our git to local repos.
Unfortunaltly Bitbucket does not accept this URL. It says : Please provide a valid clone URL.
What is wrong with tis clone URL ? what exactly doe Bitbucket expect here?
Hi Jan,
Have you tried using
ssh://our.git.server/d2/git/pending/vp
as the clone URL? What you specified looks like a clone command rather than a URL.
Cheers,
Christian
Hello Christian,
Thnx for your response.
Specifying
ssh://our.git.server/d2/git/pending/vp
or git+ssh://our.git.server/d2/git/pending/vp
does not make a difference . Still same error.
I already posted a support ticket with Atlassian. Waiting for their response also..
Regards,
Jan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you providing a username in the prompt?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes , username and password are provided but it is still rendering the url-field in error. The only way to get rid of the error is to specify http or https as protocol instead of git+ssh or ssh.
Regards,
Jan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I received a workaround from the atlassian support team that basically says:
1) create a new repository in BitBucket
2) clone the source git repo with the --mirror option
3) change the remote origin url to the url of the new bitbucket repository
4) push the complete repo to bitBucket using the push -u origin --mirror options
We are currently using an older (4.12) version of Bitbucket. I will try this again after upgrading to a more recent version of BitBucket
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.