github2gitea/readme.zh.md
2021-11-25 08:41:57 -05:00

12 lines
818 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# github2gitea
Language: [en](readme.md) | **中国人**
Github 仓库迁移至 Gitea 脚本
迁移 github 私有/公有仓库到 gitea 是一件容易的事情,不过由于网络原因,部分较大的项目可能会失败。此脚本会自动过滤已经迁移完成的仓库,因此重复执行脚本直至 gitea 中的仓库和 github 中的仓库数量一致即表示迁移完成。gitea 迁移失败的仓库会被系统自动删除,因此可能出现仓库数量浮动。为了确保代码资产安全,您在迁移完成后应该间隔十分钟再次执行,直到 gitea 中的仓库和 github 中的仓库数量仍然一致。
需要注意使用该脚本前需创建一个Github Token并且需要临时关闭Two-factor authentication。
<https://github.com/go-gitea/gitea/issues/479>