Moving code from bitbucket repository to server.

Hi All,

Its first time i am using Bitbucket, I have setup code on my local and after creating a repository I have synced my local code to Bitbucket repository. And everytime when I am doing commit then its working fine. Local files are getting updated on Bitbucket respository.

The issue I am facing is: I have a development server and I have SSH details of that. How I can move my Bitbucket code to my dev server. What will be process?

So if anyone can help me and can share step by step process then it would be helpful for me.

Thanks in advance.

1 answer

0 votes
Gonchik Tsymzhitov Community Champion Oct 06, 2017

Hi! 

 

As I understand your use case: 

I have seen these steps: 

development server (As I understand it is Bitbucket Server)

1. change link for push from Bitbucket to Bitbucket Server in .git/config file.  (remote origin)

then pushes will go development server.

 

It will be nice, if you clarify more info.

Additionaly, this thread will help for you

https://community.atlassian.com/t5/Bitbucket-questions/How-do-I-migrate-team-repositories-from-Bitbucket-to-Bitbucket/qaq-p/65583

 

Cheers, 

Gonchik

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

451 views 6 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you