如果您在 Subversion、Mercurial、Team Foundation Version Control (TFVC) 或其他 Git 仓库中有源代码,可使用 GitHub 导入工具将其移至 GitHub。
如果您有项目托管在另一个版本控制系统上,可以使用 GitHub 导入工具将其自动导入到 GitHub。
导入期间,您可以将仓库中的提交匹配提交作者的 GitHub 帐户。
如果 GitHub Importer 不适用于您的目的,例如,如果您现有的代码托管在私有网络上,则我们建议使用命令行导入。
Learn how to add existing source code or repositories to GitHub from the command line using GitHub CLI or Git Commands. Then, share your code and invite others to work with you.
您可以使用外部工具将项目移动到 GitHub。