Moving code from bitbucket repository to server.

Shalini I'm New Here Oct 06, 2017

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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

682 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot