Toral
Toral

Reputation: 305

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

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

Upvotes: 8

Views: 944

Answers (1)

YannCha
YannCha

Reputation: 241

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

Upvotes: 0

Related Questions