Git magic: split repository into two
We’ve just hit this point in our project (packit) that we want to split it to two repositories: CLI tool and a web service.
I was thinking of keeping the git history for files I want to move to the other repository. There is a ton tutorials and guides how to do such a thing. This is what worked for me:
-
Clone the original repository.
-
Have a list of files I want to remove:
…