Migrate git repository to bitbucket

ankit_ss8
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!
May 18, 2017

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?

 

2 answers

0 votes
ankit_ss8
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!
May 19, 2017

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.

 

0 votes
Edwin Kyalangalilwa
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 18, 2017

Here is a tutorial on how to make the move

https://www.atlassian.com/git/tutorials/git-lfs

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events