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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.