How to move git repository with all branches from bitbucket to github?

前端 未结 11 1779
孤城傲影
孤城傲影 2020-12-02 03:21

What is the best way to move a git repository with all branches and full history from bitbucket to github? Is there a script or a list of commands I have to use?

11条回答
  •  悲&欢浪女
    2020-12-02 03:48

    In case you couldn't find "Import code" button on github, you can:

    1. directly open Github Importer and enter the url. It will look like: Screenshot of github importer
    2. give it a name (or it will import the name automatically)
    3. select Public or Private repo
    4. Click Begin Import

    UPDATE: Recently, Github announced the ability to "Import repositories with large files"

提交回复
热议问题