Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Import SSH Repository

Davide Lucchelli
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 12, 2020

Hi guys,

I have a private repository on a vps, I can access to it only through ssh. 

How can I import It in a new bitbucket repo? Import form allows only http connections. 

 

Thanks,

Davide

1 answer

1 accepted

0 votes
Answer accepted
Kurt Klinner
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 12, 2020

@Davide Lucchelli 

 

Hi Davide

 

you can add your repo from the vps by followinfg the steps in 

https://confluence.atlassian.com/bitbucketserver/importing-code-from-an-existing-project-776640909.html

 

Especially

git remote add origin https://username@your.bitbucket.domain:7999/yourproject/repo.git 
git push -u origin master

Cheers

 

Kurt 

Davide Lucchelli
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 13, 2020

Hi Kurt,

thanks for the reply.

To import all branches and tags, I have to follow the instructions in the "Import an existing Git project into Bitbucket Server" section, right?

I was hoping there was a way to do this directly from the bitbucket import form.

 

Thanks,

Davide

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events