Commit 6bf0e21a authored by Kent Japhet Ballon's avatar Kent Japhet Ballon Committed by Amy Qualls

Update doc/user/project/repository/mirror/index.md

parent 23efe6d6
...@@ -7,9 +7,8 @@ disqus_identifier: 'https://docs.gitlab.com/ee/workflow/repository_mirroring.htm ...@@ -7,9 +7,8 @@ disqus_identifier: 'https://docs.gitlab.com/ee/workflow/repository_mirroring.htm
# Repository mirroring **(FREE)** # Repository mirroring **(FREE)**
You can _mirror_ a repository to and from external sources. You can select which You can _mirror_ a repository to and from external sources. You can select which repository
repository serves as the source, and modify which parts of the repository are copied. serves as the source. Branches, tags, and commits can be mirrored.
Branches, tags, and commits can be mirrored.
Several mirroring methods exist: Several mirroring methods exist:
...@@ -23,11 +22,7 @@ Mirror a repository when: ...@@ -23,11 +22,7 @@ Mirror a repository when:
copy of your project at its previous home, configure your GitLab repository as a copy of your project at its previous home, configure your GitLab repository as a
[push mirror](push.md). Changes you make to your GitLab repository are copied to [push mirror](push.md). Changes you make to your GitLab repository are copied to
the old location. the old location.
- Your GitLab project is private, but some components can be shared publicly. - Your GitLab instance is private, but you want to open-source some projects.
Configure your primary repository as a [push mirror](push.md) and push the portions
you want to make public. With this configuration, you can open-source specific
projects, contribute back to the open-source community, and protect the sensitive
parts of your project.
- You migrated to GitLab, but the canonical version of your project is somewhere else. - You migrated to GitLab, but the canonical version of your project is somewhere else.
Configure your GitLab repository as a [pull mirror](pull.md) of the other project. Configure your GitLab repository as a [pull mirror](pull.md) of the other project.
Your GitLab repository pulls copies of the commits, tags, and branches of project. Your GitLab repository pulls copies of the commits, tags, and branches of project.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment