Migrate git repository to bitbucket Edited

I have my code (including a lot of branches) in my Git repository that I want to move to bitbucket. The size of the repo is more than 6 GB, so I want to use Git LFS for my large binary files. How do I migrate my repo to bitbucket?

If I just take a mirrored copy, I cannot add large files to Git LFS and when I push the entire code to bitbucket, it becomes read-only because it has reached the soft and hard quota limit.

If I clone the entire repository, how do I add files to git lfs and then push them to a new bitbucket repository including the branches and tags?

 

1 comment

Thanks but this does not tell me what I need. This tells me how to migarte from Github to bitbucket, but I cannot do not when I want to add files to LFS before I push files to bitbucket.

 

Comment

Log in or Sign up to comment
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

29 views 0 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