Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Ankit Maheshwari January 17, 2018

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

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 18, 2018

 

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!

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events