Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you import a large number of repositories to bitbucket easily?

Tags:

bitbucket

I have around 100 repositories in github and I have to import all of them to bitbucket. What is the easiest automated way of doing it ?

like image 216
tvsdeepak Avatar asked Jan 24 '12 07:01

tvsdeepak


People also ask

How many repositories can you have on Bitbucket?

Bitbucket is free for individuals and small teams with up to 5 users, with unlimited public and private repositories.

Does Bitbucket have a file size limit?

Bitbucket Cloud repositories have a 4.0 GB limit. When that limit is reached, you will only be able to push changes that undo the latest commits. The repository limit for free repositories is 2 GB; however, at this time, we are not enforcing this limitation.


1 Answers

Answer added from comment:

Use the following command:

curl --request POST --user username:password https://api.bitbucket.org/1.0/repositories --data name=myrepo --data scm=git
like image 199
arulmr Avatar answered Oct 05 '22 21:10

arulmr