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 vote
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

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

1,780 views 1 5
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