GitLab
This page describes the process to mirror a Copia repo to a GitLab repo.
Last updated
This page describes the process to mirror a Copia repo to a GitLab repo.
Last updated
Create a Project in GitLab
Add a repository to the project. This GitLab repo will be the repo to which your Copia repo is mirrored. Consider using a naming convention to indicate that you are mirroring from Copia.
(This step is only necessary if the repo uses, or is ever expected to use, Git LFS.) Beneath the project on the left side of the screen, select the "Settings" icon, and then select "General"
Underneath "Visibility, project features, permissions", ensure that the "Git Large File Storage (LFS)" toggle is turned on
Beneath the project on the left side of the screen, select the "Settings" icon, and then select "Repository"
Click the "Expand" button in the "Mirroring repositories" section
In the "Git repository URL" field, add the URL of the Copia repository that you wish to mirror
In the URL string that you just entered, add the username of a Copia user who has access to that repository, along with the "at" symbol. For example, if the repo that I want to mirror is , then the modified URL would be
Important! Make sure that you change the "Mirror Direction" to "Pull". If you leave the mirror direction as "Push", you risk overwriting commits that were made on Copia
Enter the password of the Copia user who has access to the repository or enter an Access Token that can be created at (Note: Currently, Copia only generates Access Tokens that have full access to your account)
Click the "Mirror repository" button
The Copia repository should now be mirrored to GitLab. If the Copia repo name is ever changed, the mirror will no longer function and will need to be reconfigured with the new repo URL.