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

Existing Git repo on same server




I have installed bitbucket server on my existing server that host our git repo and jenkins. 

Our git repo is located at /home/git/myrepo.git

How do I import that same repository into bitbucket on the same server ?  I don't want to clone, I just want to point bitbucket to look at that repo.


So to summarize I have on the same box :



And I want bitbucket to read the exsting git data. Our git is current accessed using ssh keys

1 answer

1 accepted

0 votes
Answer accepted

Hi Stephen,

You'll need to follow the instructions described here:



Premier Support Engineer


That is just pushing code to a new repository ?  

There is no way to use an existing repository ?  I am trying to avoid having to get all my team to push to a new repo.

Hi Stephen,

No, if you want Bitbucket Server to host a repository you will have create one in Bitbucket Server and push the contents of the existing repository to it.



Premier Support Engineer


Ok. Thanks for the help.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

118 views 2 4
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