git lfs install
- clone repo
- checkout branch(es) that you want to migrate
- remove remotes
git remote remove <remote name>
git lfs migrate import --include="*.uasset","*.umap","*.lib" --everything
- --include has example file types.
- --everything will do all branches
- create new remote repo
- add remote(s) back in
git remote add origin <URL>
for new repo created above git push -u origin --all
push all branches
Now clean up local copy
- git reflog expire --expire-unreachable=now --all
- git gc --prune=now