Giter Site home page Giter Site logo

bitbucket-to-github's Introduction

Bitbucket to Github Migration

This repository transfers ALL of your Bitbucket repositories to Github while maintaining its privacy status.

Getting Started

Make sure you have node and npm before continuing.

Clone the repo

git clone https://github.com/pouriaa/bitbucket-to-github.git

Enter the repo

cd bitbucket-to-github/

Install dependencies

npm i

Make an environment variable file

cp .env.sample .env

Create an access token on Github

Use https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/ to create your token.

Enter your Github and Bitbucket credentials to .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.

Run the script

node index.js

bitbucket-to-github's People

Contributors

dependabot[bot] avatar pouriaa avatar rhyzx avatar stephenfeather avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bitbucket-to-github's Issues

Move teams to organizations

Hi pouriaa,

I have some repos in a Bitbucket team, do you know how I can extend your code to move the team repos as well?

Greetings
DerKnerd

Missing required package `request`

doing an npm i and then node index.js fails with the error Error: Cannot find module 'request'.

Doing an npm i request fixes this.

Please add request to the dependencies. Sorry no pull request, not at dev machine at the moment.

PS: cool little repo, was about to write my own script, saved me the work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.