DEV Community

Discussion on: Git-Fu: merge multiple repos with linear history

Collapse
 
detunized profile image
Dmitry Yakimenko • Edited

I have not tried it, but it should recreate the merged repo every time exactly the same. So if you rerun it with updated repos you should get an updated merged repo with the same checksums. This is theory, though. It's possible that in practice things won't be so smooth. Plus it would redo a bunch of work every time and the merge process would be unnecessarily slow. It's better to modify the script to track the state and only apply new commits the merged repo.

Sorry about the late reply. Didn't see the email.

Collapse
 
hnsecurity profile image
Eryk

Thank you for replying.