0

I had a huge update on repo A's branch and I want to merge this changes to repo B's branch. What is the best way to achieve this?

Thanks in advance

Rinael
  • 133
  • 3
  • 12
  • Are the branches on both repos related? – eftshift0 Sep 13 '21 at 15:09
  • https://stackoverflow.com/questions/37471740/how-to-copy-commits-from-one-git-repo-to-another - Check this. – Yogesh_D Sep 13 '21 at 15:11
  • @eftshift0 Yes, code base is quite similar I updated Repo A's branch with Gatsby 3 and added Multi-lang support. Want to merge those changes to Repo B's branch – Rinael Sep 13 '21 at 15:15
  • 2
    I am not talking about similarity in content but rather **history**. Are the branches there sharing common history (in the sense of _revisions_).... just so that you understand where I am coming from and where you should _try_ to go to: You can place the exact same branches (revisions) in different repos. You can have more than one remote set up on a local repo so that you can push the same stuff into different places. – eftshift0 Sep 13 '21 at 15:18

0 Answers0