Import a repository

To get your existing code into Bitbucket Cloud quickly from another hosting site or system, Bitbucket provides an importer to grab a repository. This importer works if you have your code in CodePlex, GitHub, Google Code, SourceForge, Subversion, or another Git/Mercurial-based hosting site. However, if your hosting site doesn't fall into one of these sources or you don't have a URL to enter, you must convert your code to Git or Mercurial.

  1. Choose Repositories > Import repository from the menu bar.
  2. Select the Source of the code you want to import.
  3. Depending on the Source, the system asks you to provide the following information:

    Source Required information
    CodePlex
    • URL
    • Project name
    • Repository type
    Git/GitHub
    • URL
    • Username/Password combination for private repositories that Require authorization
    Google Code
    • URL
    • Project name
    • Repository type
    Mercurial
    • URL
    • Username/Password combination for private repositories that Require authorization
    SourceForge
    • URL
    • Project name
    • Repository type
    Subversion
    • URL
    • Username/Password combination for private repositories that Require authorization
  4. Enter a Name for your new repository.
  5. Uncheck Private if you want the repository to be Public.
  6. Select a Language
  7. Click Issue tracking and/or Wiki if you want those features.
  8. Enter a Description and Website if you wish.
  9. Press Import.

Clone your repository when you're done importing it.


Last modified on Feb 22, 2017

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.