2020-08-02 12:35:55 +02:00
|
|
|
---
|
|
|
|
|
title: Import existing repositories
|
2020-08-03 14:33:53 +02:00
|
|
|
subtitle: How to import existing repositories into SCM-Manager
|
2020-08-02 12:35:55 +02:00
|
|
|
displayToc: true
|
|
|
|
|
---
|
|
|
|
|
|
2024-08-30 14:38:23 +02:00
|
|
|
Please use the internal import mechanism of the SCM-Manager to import existing repositories.
|
|
|
|
|
On the repository overview page, click "Add Repository" and then select "Import Repository"
|
|
|
|
|
on the top right corner. Now, you can choose what type of repository you want to import.
|
2020-08-02 12:35:55 +02:00
|
|
|
|
2024-08-30 14:38:23 +02:00
|
|
|
Next, you can choose whether to import from a URL (for Git and Mercurial) or from a dump
|
|
|
|
|
(Git, Mercurial and Subversion).
|
2020-08-02 12:35:55 +02:00
|
|
|
|
2024-08-30 14:38:23 +02:00
|
|
|
To import from a URL, you can specify the URL and the credentials for the existing repository.
|
|
|
|
|
The credentials will not be stored but are only used to access the existing repository once.
|
2020-08-02 12:35:55 +02:00
|
|
|
|
2024-08-30 14:38:23 +02:00
|
|
|
Below, you have to select the name (and maybe the namespace) and other metadata for your new
|
|
|
|
|
repository inside SCM-Manager.
|
2020-08-02 12:35:55 +02:00
|
|
|
|
2024-08-30 14:38:23 +02:00
|
|
|
For more information about importing and exporting dumps, please refer to the "Repository"
|
|
|
|
|
section in the user documentation.
|