Split out a Git Repo and Keep it's Commit History

One thing I’ve been tasked with working on recently is splitting out microservices from a monorepo into their own separate repos. While this may sound trivial, one thing that is essential is to keep the git history associated with these services - which is more complicated than it looks. There’s a native tool built into git, git filter-branch - but it is quite finicky. Thankfully, a tool exists which offers a one command solution - git filter repo....

January 12, 2022 Â· 3 min Â· Michael Thornton