http://bbergeron.i2p/posts/2024-11-14_how-to-merge-divergent-git-histories.html
However, since I’m the only developer on the team and the first one to
sign his commits, I’m gonna do it anyway. # (optional) re-sign commits git filter-branch --commit-filter 'if [ "$GIT_COMMITTER_EMAIL" = "<your-email>" ]; \ then git commit-tree -S "$@"; \ else git commit-tree "$@"; \ fi' HEAD Now, we’ll navigate into our monorepo, add our source repository as a
remote, and fetch it. # Add source repo as a remote for the target repo cd ..