Repository Functions

Creating a repository

To create a repository in RhodeCode Enterprise, use the following steps.

  1. From the RhodeCode Enterprise interface, select Admin ‣ Repositories
  2. From the repository page, select Add Repository
  3. On the Add Repository page, complete the following repository details:
    • Name
    • Description
    • Set the repository group
    • Set the repository type
    • Specify if it is a public or private repository
  4. Select Save

Importing a repository

To import a repository in RhodeCode Enterprise, use the following steps.

  1. From the RhodeCode Enterprise interface, select Admin ‣ Repositories
  2. From the repository page, select Add Repository
  3. On the Add Repository page, select Import existing repository
  4. In the clone from input field, specify the URL to the repository you want to import.
  5. Complete the following repository details:
    • Name
    • Description
    • Set the repository group
    • Set the repository type
    • Specify if it is a public or private repository
  6. Select Add

Note

Make sure your RhodeCode Enterprise server can access the external repository.
Depending on the size of the repository the clone process may take a bit.

Cloning repositories

To clone a repository in RhodeCode Enterprise, use the following steps.

  1. From the RhodeCode Enterprise interface, select Admin ‣ Repositories and choose the repository you wish to clone.
  2. Use the link in the Clone URL field to clone the repository
  3. To clone, open a terminal on you computer and use one of the following examples

For Git, use git clone URL For Mercurial, use hg clone URL