Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't push after BFG cleanup

Seth van Heijster
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 18, 2019

Hello,

I have a repo that I want to migrate to Git LFS using BFG Repo-Cleaner. I followed the instructions here:

https://confluence.atlassian.com/bitbucket/use-bfg-to-migrate-a-repo-to-git-lfs-834233484.html

And everything works but then when I try to push the <repo-name>.git I get an error that says it failed to find a certain file and can't push. Any ideas?

Thanks in advance

1 answer

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 20, 2019

Hello Seth and welcome to the Community!

Assuming all the pre-migration steps were confirmed and completed before attempting you migration everything should have gone through. However, as you stated, this is not the case, and you’re presented with an error. Without knowing the exact error message, it will be a shot in the dark to find a root cause on why the migration failed for you. With this said, could you please re-attempt the migration and let us know the exact error message that is displayed? Screenshots work just fine for this.

Additionally, there are multiple reported issues on the BFG-Repo-Cleaner project within GitHub. You can find all reported issues which may be related to your error at https://github.com/rtyley/bfg-repo-cleaner/issues.

We look forward to hearing back what the error message is so we can help find a solution.

Regards,
Stephen Sifers

Seth van Heijster
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 22, 2019

Hi Stephen,

Thanks for the quick response! Funnily enough I tried the migration again and the second time it worked without any errors. Still not sure why it gave me an error the first time. I can say that the file that it couldn't find in the initial error was a file in the Assets folder of the Unity project. Other than that I'm just glad it worked the second time around!

Cheers,

Seth

Like Stephen Sifers likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events