登录
ZH▾
语言
下载
测试版 此语言为测试版:由 AI 翻译和检查,尚未经过母语人士审校。 此页面尚未翻译,因此以英文显示。
文档 › 入门

迁移到 MCDock

仓库、历史和工作项如何迁移过来,以及哪些内容保持不变。

Status: the guided Migration Center is in preview and ships with a later release. Until then, any Git repository can be moved with standard Git commands, keeping all branches, tags and history.

Move a Git repository today

  1. Create an empty repository in MCDock.
  2. On a PC:
git clone --mirror https://old-server/your-repo.git
cd your-repo.git
git lfs fetch --all
git push --mirror https://git.example.com/your-repo.git
git lfs push --all https://git.example.com/your-repo.git
  1. Check the branches and tags in MCDock, then switch your team over.

The Migration Center (preview)

  • Brings repositories with full history, plus issues, pull requests and pages from other Git services and older version-control systems.
  • Reads the source read-only. Nothing is ever deleted at the source.
  • A dry run first shows what will move, with counts, before anything is copied.
  • People can keep working on the old server until the final switch.

更新于 2026/11/24 · 缺少内容?请在此提问: 社区.