将源代码导入到 GitHub
您可以使用 命令行或外部迁移工具将仓库导入到 GitHub。
使用命令行导入 Git 仓库
当您现有的代码托管在私有网络上时,适合使用命令行导入 Git 项目。
Adding locally hosted code to GitHub
Learn how to add existing source code or repositories to GitHub Enterprise Server from the command line using GitHub CLI or Git Commands. Then, share your code and invite others to work with you.
源代码迁移工具
您可以使用外部工具将项目移动到 GitHub。