0

My use case here is that i have a git repo say X and i have another git repo say Y and i need to update the repo Y with all the contents present in repo X with the commit history preserved. Can someone let me know how should i do this?

Rajath
  • 19
  • 4
  • In the linked question, read the second answer : https://stackoverflow.com/a/38303789/86072 – LeGEC Dec 16 '20 at 08:30
  • @LeGEC The repo Y already has some content. Should that be fine? – Rajath Dec 16 '20 at 08:38
  • What will work : all the branches and tags that are in X and not in Y will be correctly pushhed. What may need extra work : you may need to reconcile the history of the `main` branch in both repos. Ask a new question if this is your case. – LeGEC Dec 16 '20 at 09:46

0 Answers0