How to move a directory from one git repo to another (or new) without losing history
Make copy of repo
git clone dirtySourceRepo newSourceRepo
OR clone from actual git repo and prevent push
git remote set-url --push origin no_push
Make sure to checkout the correct branch before the next step.
Cloning from another local directory al...
blog.kerchum.dev1 min read