Problems using BFG to migrate certain files of a repo to Git LFS

Hi there,

We were trying to migrate certain files to LFS from our repo and have came across a problem. We're trying to follow the steps laid out in the link below.

Our problem is we can't get past the last step which is:

5. Push the converted repository back to Bitbucket

git push --force

Whenever we tried push our changes we get the error message saying:

open AdvancedInspector/Examples/Arts/Cubemap.cubemap: no such file or directory    error: failed to push some refs to ''

We think we've completed the previous steps correctly.

We'd appreciate any help in this matter.

1 answer

0 votes

Hi Emre, welcome to the Community!

Do you have enough space to store those files you're trying to push? How big are your LFS files?

Kind regards,


Hey Ana, thank you for the reply!

I think we do have enough space. The mirrored .git file inflates quite substantially from 1.5gigs to 55gigs after the BFG procedure, which seems odd.

However our total available storage is at 86gigs. So there shouldn't be any limitations with regard to storage.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,962 views 7 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you