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