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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Import SSH Repository

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

@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 

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
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,804 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you