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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 Edited

Hi.

 

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 :

/var/atlassian/application-data/bitbucket

/home/git/myrepo.git

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: https://confluence.atlassian.com/bitbucketserver/importing-code-from-an-existing-project-776640909.html#Importingcodefromanexistingproject-Importcodeusingtheterminal

Cheers,

Christian

Premier Support Engineer

Atlassian

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.

Cheers,

Christian

Premier Support Engineer

Atlassian

Ok. Thanks for the help.

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 ...

2,567 views 1 9
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