Move directory between repos while preserving git history
Tue May 10 2022 10:13:05 GMT+0000 (Coordinated Universal Time)
Snippet explains pushing to new repo from an already existing repo, can be improved by creating new repo locally, cloning old repo into it, filter-branch on the source branch (mostly master), add a new remote, fetch, merge unrelated history if any and push to new repo.
Comments