Moving code from bitbucket repository to server.

Shalini October 6, 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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 6, 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
TAGS
AUG Leaders

Atlassian Community Events