Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Migrate git repository to bitbucket

ankit_ss8 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?

 

1 comment

edwin
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

ankit_ss8 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.

 

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events