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
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

23,149 views 26 12
Join discussion

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