{"meta":{"title":"关于 GitHub 导入工具","intro":"如果源代码存储在另一个基于 Git 的托管服务中，则可以使用 GitHub.com 将代码移动到 GitHub Importer。","product":"迁移","breadcrumbs":[{"href":"/zh/migrations","title":"迁移"},{"href":"/zh/migrations/importing-source-code","title":"导入源代码"},{"href":"/zh/migrations/importing-source-code/using-github-importer","title":"GitHub 导入工具"},{"href":"/zh/migrations/importing-source-code/using-github-importer/about-github-importer","title":"关于 GitHub 导入工具"}],"documentType":"article"},"body":"# 关于 GitHub 导入工具\n\n如果源代码存储在另一个基于 Git 的托管服务中，则可以使用 GitHub.com 将代码移动到 GitHub Importer。\n\n## 关于 GitHub Importer\n\nGitHub Importer 是一种工具，可快速将 Git 存储库从其他托管服务导入到 GitHub.com。\n\n若要开始使用 GitHub Importer，请参阅“[使用 GitHub 导入工具导入仓库](/zh/migrations/importing-source-code/using-github-importer/importing-a-repository-with-github-importer#importing-a-repository-with-github-importer)”。\n\n## GitHub Importer 的功能和限制\n\n* GitHub Importer 导入存储库的源代码和提交历史记录。 它不会从托管服务导入其他关联数据，例如问题和拉取请求。\n* GitHub Importer 仅在 GitHub.com 上提供。\n* 在导入过程中，可以使用远程存储库进行身份验证。 必须可从公共 Internet 访问存储库。 如果存储库托管在专用网络上，GitHub Importer 将无法访问它。\n* GitHub Importer 不支持使用 Git 以外的版本控制系统的存储库，例如 Mercurial、Subversion 或 Team Foundation 版本控制 (TFVC)。 有关 GitHub Importer 的替代方案的详细信息，请参阅“[关于使用命令行导入源代码](/zh/migrations/importing-source-code/using-the-command-line-to-import-source-code/about-source-code-imports-using-the-command-line)”。\n* GitHub 上的存储库和单个文件受大小限制。 有关详细信息，请参阅“[关于 GitHub 上的大文件](/zh/repositories/working-with-files/managing-large-files/about-large-files-on-github)”。\n* GitHub Importer 不会将 Git 大型文件存储 (LFS) 对象从源存储库移动到目标存储库。 如果使用 Git LFS，则需要在运行迁移之前将 Git LFS 对象转换为 Git 跟踪的常规文件，或者在运行迁移后将 Git LFS 对象单独移动到新存储库。\n\n## 其他阅读材料\n\n* [使用命令行导入外部 Git 存储库](/zh/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-an-external-git-repository-using-the-command-line)"}