/git_repo_merges

Scripts for merging git and hg repositories while maintaining version history.

Primary LanguageShellApache License 2.0Apache-2.0

Scripts and tools for merging git repos into each other while maintaining version history.

Before using, make sure you read and understand the internals of the script!

Can be useful in moving toward a mono-repo without some of the common pain-points. Git slowness can still be an issue in a large monorepo, but much of it can be mitigated with some of these techniques.

Features:

  • Rewriting commit messages to include past commit hashes
  • Cleaning out large blobs from commit history.
  • Merging hg repos into git

Authors:

  • @nipunn1313
  • @gnprice