Basic Usage

File Management

From within the RhodeCode Enterprise interface you can create, edit, delete, or import files into a repository.

Note

Files must live in a repository. Before adding a file to RhodeCode Enterprise you must create a repository.

Create Files Online

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

  1. From the RhodeCode Enterprise interface, select Admin -> Repositories.
  2. Select the repository to which you want to add a new file.
  3. Select the + sign beside the repository name.
  4. In the input box enter a file name.
  5. Select commit change to save the new file, and folder path.

Note

To add subfolders to your repository add the folder name in the file path. For example rewrites/bin/new_file.py
To enable the RhodeCode Enterprise markup editor to highlight markup, set the file extension or choose from the **New file
mode** drop down menu.

Upload Files

To upload a file using the RhodeCode Enterprise interface, use the following steps.

  1. From the RhodeCode Enterprise interface, select Admin -> Repositories.
  2. Select the repository to which you wish to upload a file.
  3. Select the + sign beside the repository name.
  4. Select the Upload File -> Choose File buttons, then choose the file you wish to upload.
  5. Select Commit change to save the new file.

Delete Files

To delete a file in RhodeCode Enterprise, use the following steps.

  1. From the RhodeCode Enterprise interface, select Admin -> Repositories.
  2. Select the repository in which you want to delete a file.
  3. Select the file you wish to delete.
  4. Click the red x delete button.
  5. Select commit changes.

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.

Online Editor

RhodeCode Enterprise has an integrated online editor, allowing you to edit files in the browser. The online editor has syntax highlighting and the ability to fork, merge, and commit changes to files.

How to Use the Online Editor

To edit files using the online editor, use the following steps.

  1. From the RhodeCode Enterprise interface, select Admin -> Repositories
  2. Select the repository in which you want to edit a file.
  3. Select the file you wish to edit.
  4. To open the editor, select the edit on branch:default button.
    • If the filename has an extension RhodeCode Enterprise recognises, the syntax highlighting will appear automatically.
    • If the filename does not have an extension RhodeCode Enterprise recognises, you can set the language syntax highlighter by choosing from the file type drop down menu.
  5. To save your changes, select Commit changes