git lfs migrate with --everything is not migrating all the remote branches

745 Views Asked by At

I cloned a repo which has 10+ remote branches and 20+ tags.

Cloned repo has the default branch master checkout.

When I ran git lfs migrate, it migrated all the tags but migrated only master branch, other remote branches were not migrated. Is this the expected behavior? Do I need to checkout all the remote branches before running "git lfs migrate import --everything --include="*.bin"" ?

LFS version is 3.1.4

1

There are 1 best solutions below

0
On

I had the same problem. Be sure to use git lfs migrate on a mirror clone. Use the option --mirror on git clone command.