文档 › 入门
迁移到 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
- Create an empty repository in MCDock.
- 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
- 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 · 缺少内容?请在此提问: 社区.