I had a bunch of separate git repositories that I wanted to merge into one, while also maintaining the existing git history as much as possible. There were three cases: one where the original repository is in a directory which can be simply renamed to fit into the new structure, Continue Reading