Difference between revisions of "Git Moving History to New Repo"
Jump to navigation
Jump to search
(Created page with "https://stackoverflow.com/questions/41811986/git-move-directory-to-another-repository-while-keeping-the-history ``` git subtree split -P dir-to-move -b split git remote add...") |
(No difference)
|
Latest revision as of 16:50, 20 August 2021
git subtree split -P dir-to-move -b split git remote add repo-1 repo-1-url.git git checkout split git push repo-1-url.git # git subtree add --prefix dir-to-move split