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.
- From the RhodeCode Enterprise interface, select Admin -> Repositories.
- Select the repository to which you want to add a new file.
- Select the + sign beside the repository name.
- In the input box enter a file name.
- Select commit change to save the new file, and folder path.
Note
rewrites/bin/new_file.py
Upload Files¶
To upload a file using the RhodeCode Enterprise interface, use the following steps.
- From the RhodeCode Enterprise interface, select Admin -> Repositories.
- Select the repository to which you wish to upload a file.
- Select the + sign beside the repository name.
- Select the Upload File -> Choose File buttons, then choose the file you wish to upload.
- Select Commit change to save the new file.
Delete Files¶
To delete a file in RhodeCode Enterprise, use the following steps.
- From the RhodeCode Enterprise interface, select Admin -> Repositories.
- Select the repository in which you want to delete a file.
- Select the file you wish to delete.
- Click the red x delete button.
- Select commit changes.
Creating a repository¶
To create a repository in RhodeCode Enterprise, use the following steps.
- From the RhodeCode Enterprise interface, select Admin -> Repositories
- From the repository page, select +Add Repository
- 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
- Select Save
Importing a repository¶
To import a repository in RhodeCode Enterprise, use the following steps.
- From the RhodeCode Enterprise interface, select Admin -> Repositories
- From the repository page, select +Add Repository
- On the Add Repository page, select Import existing repository
- In the clone from input field, specify the URL to the repository you want to import
- Complete the following repository details:
- Name
- Description
- Set the repository group
- Set the repository type
- Specify if it is a public or private repository
- 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.
- From the RhodeCode Enterprise interface, select Admin -> Repositories
- Select the repository in which you want to edit a file.
- Select the file you wish to edit.
- 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.
- To save your changes, select Commit changes