Last Updated: February 25, 2016
·
683
· dsager

Merge multiple GIT repositories keeping their history

Here's a small shell script that merges multiple git repositories into a new one while keeping the history of both. The script uses subtree merge command. Just change the variables on top to your needs and give it a try!