It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Ana Retamal Atlassian Team Feb 05, 2019

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 in Bitbucket

Atlassian supported Jenkins integration for Bitbucket Server

We’ve been building a plugin to integrate Bitbucket Server and Jenkins CI, and I’m excited to announce that our alpha is ready to download and install. It lets you seamlessly configure a Jenkins job ...

436 views 0 9
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you