Migrate Bitbucket repositories over to Github.
This repository transfers ALL of your Bitbucket repositories to Github while maintaining its privacy status.
Make sure you have node and npm before continuing.
git clone https://github.com/pouriaa/bitbucket-to-github.git
cd bitbucket-to-github/
npm i
cp .env.sample .env
Use https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
to create your token.
.env
This repository uses the dotenv
library to handle configuration variables.
It should be noted that the Bitbucket 'username' is not your email address but 'https://bitbucket.org/{username}/tisplunkmint/src/develop/'
It should also be noted that the Github token requires full repo permissions if you want to create private repositories.
node index.js