How I can push files from one bit bucket repository to another both are onn server

There are 2 repositories on bit bucket server with different name. I want to push code from one repository to another so that both will have same files. please suggest solution how I can take it forward

1 answer

This widget could not be displayed.


Hi Ankit! The easier way to do this if both repos already exist is to pull those files locally, copy them to the other repo and the push to Bitbucket. Otherwise, you can do a fork of the first repo, which will result in having 2 copies of the same files. 

However, note that this won't keep both repos synced, if you do changes in one they will not be reflected in the other. You can do that by following the steps at Keeping forks synchronized.

Hope that helps!


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,315 views 8 11
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