Hello,
We are thinking of migrating some GIT repositories that is currently hosted by a 3rd party GIT hosting service to Bitbucket cloud, We are looking for more information on how to do this properly and see if there's any migration tools that would be available to us.
Also, my understanding is that if a file's size exceeds 100MB, it would trigger GIT LFS in BitBucket. What are the implications of triggering GIT LFS?
Best and thank you in advance for your help!
G. W.
Hi @G_ W_ ! Welcome to the Atlassian Community!
Have a look at this if all you're doing is just repo data. https://www.atlassian.com/git/tutorials/git-move-repository
Here's more information on Git LFS. https://support.atlassian.com/bitbucket-cloud/docs/manage-large-files-with-git-large-file-storage-lfs/
Thank you Robert!
If I may ask a few follow up questions:
1. How does Bitbucket calculate the file size in the LFS system? Say that there is a 200MB file in the GIT history. If it is modified and committed 3 times, would Bitbucket consider 200 x 3 =600MB used towards the LFS storage? Am I correct to assume that if the 200MB file remains un-changed in future commits, there wouldn't be any increase in file size?
2. How can we add additional storage to the LFS storage? (we are currently on the Academic plan)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. Yes, each commit would consume storage as you outlined.
2. Here's the link with instructions on purchasing additional storage. https://support.atlassian.com/bitbucket-cloud/docs/manage-your-plan-and-billing/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robert,
If you don't mind me asking another question regarding LFG:
When migrating GIT repositories to BitBucket, does BB automatically detects repos that needs LFS and automatically converts them to repos with LFS enabled? Do we have the ability to choose which repo(s) will have LFS enabled? From what I read so far, it seems that we need to use 3rd party tools such as BFG or git-lfs-migrate tools to first re-write git history and then add large files to the GIT LFS? If that's true, do you have a recommendation on choosing BFG vs git-lfs-migrate or other tools?
Thank you again!
G.W.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The two are pretty equivalent. I'm going to side with BFG only because git-lfs-migrate does this on a branch basis.
I think it's better if you have further questions you should create them as new questions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.