与其他 Git 托管平台相比
为了帮助您决定 Gitea 是否适合您的需求,以下是它与其他 Git 自托管选项的比较。
请注意,我们不定期检查其他产品的功能变更,因此此列表可能已过时。如果您发现下表中需要更新的内容,请 打开一个问题。
表格中使用的符号
-
✓ - 支持
-
⁄ - 受限功能支持
-
✘ - 不支持
-
⚙️ - 通过第三方软件支持
通用功能
功能 | Gitea | Gogs | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE | RhodeCode EE |
---|---|---|---|---|---|---|---|---|
开源且免费 | ✓ | ✓ | ✘ | ✓ | ✘ | ✘ | ✓ | ✓ |
低 RAM/CPU 使用率 | ✓ | ✓ | ✘ | ✘ | ✘ | ✘ | ✘ | ✘ |
多数据库支持 | ✓ | ✓ | ✘ | ⁄ | ⁄ | ✓ | ✓ | ✓ |
多操作系统支持 | ✓ | ✓ | ✘ | ✘ | ✘ | ✘ | ✓ | ✓ |
轻松升级 | ✓ | ✓ | ✘ | ✓ | ✓ | ✘ | ✓ | ✓ |
遥测 | ✘ | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ |
第三方渲染工具支持 | ✓ | ✘ | ✘ | ✘ | ✘ | ✓ | ✘ | ✘ |
WebAuthn(2FA) | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ | ✓ |
广泛的 API | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
内置软件包/容器注册表 | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
将提交同步到外部存储库(推送镜像) | ✓ | ✓ | ✘ | ✓ | ✓ | ✘ | ✓ | ✓ |
从外部存储库同步提交(拉取镜像) | ✓ | ✘ | ✘ | ✓ | ✓ | ✘ | ✓ | ✓ |
浅色和深色主题 | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
自定义主题支持 | ✓ | ✓ | ✘ | ✘ | ✘ | ✓ | ✓ | ✓ |
Markdown 支持 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
CSV 支持 | ✓ | ✘ | ✓ | ✘ | ✘ | ✓ | ✘ | ✘ |
'GitHub/GitLab Pages' | ⚙️, ⚙️ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
Gists/代码片段 | ⚙️ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
特定于存储库的 Wiki(作为存储库本身) | ✓ | ✓ | ✓ | ✓ | ✓ | / | ✘ | ✘ |
部署令牌 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
具有写入权限的存储库令牌 | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
RSS 订阅 | ✓ | ✘ | ✓ | ✘ | ✘ | ✘ | ✓ | ✓ |
内置 CI/CD | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
子组:组中的组 | ✘ | ✘ | ✘ | ✓ | ✓ | ✘ | ✓ | ✓ |
与其他实例的交互 | / | ✘ | ✘ | ✘ | ✘ | ✘ | ✘ | ✘ |
Markdown 中的 Mermaid 图表 | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
Markdown 中的数学语法 | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✓ | ✓ |
代码管理
功能 | Gitea | Gogs | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE | RhodeCode EE |
---|---|---|---|---|---|---|---|---|
存储库主题 | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
存储库代码搜索 | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
全局代码搜索 | ✓ | ✘ | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ |
Git LFS 2.0 | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
组里程碑 | ✘ | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ | ✘ |
细粒度用户角色(代码、问题、Wiki 等) | ✓ | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ | ✘ |
已验证的提交者 | ⁄ | ✘ | ? | ✓ | ✓ | ✓ | ✘ | ✘ |
GPG 签名提交 | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
SSH 签名提交 | ✓ | ✘ | ✓ | ✓ | ✓ | ? | ✘ | ✘ |
拒绝未签名提交 | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
从其他服务迁移存储库 | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
存储库活动页面 | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
分支管理器 | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
创建新分支 | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
网页代码编辑器 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
提交图 | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
模板存储库 | ✓ | ✘ | ✓ | ✘ | ✓ | ✓ | ✘ | ✘ |
Git Blame | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
图像变更的视觉比较 | ✓ | ✘ | ✓ | ? | ? | ? | ✘ | ✘ |
- Gitea 具有内置的存储库级代码搜索
- 可以通过 使用存储库索引器 来实现更好的代码搜索支持
问题跟踪
功能 | Gitea | Gogs | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE | RhodeCode EE |
---|---|---|---|---|---|---|---|---|
问题跟踪器 | ✓ | ✓ | ✓ | ✓ | ✓ | / | ✘ | ✘ |
问题模板 | ✓ | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
标签 | ✓ | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
时间跟踪 | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
为问题分配多个责任人 | ✓ | ✘ | ✓ | ✘ | ✓ | ✘ | ✘ | ✘ |
相关问题 | ✘ | ✘ | ⁄ | ✓ | ✓ | ✘ | ✘ | ✘ |
机密问题 | ✘ | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ | ✘ |
评论反应 | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
锁定讨论 | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
批量问题处理 | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
问题看板(看板) | / | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ | ✘ |
从问题创建分支 | ✘ | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ | ✘ |
将评论转换为新问题 | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
问题搜索 | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ |
全局问题搜索 | / | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ |
问题依赖 | ✓ | ✘ | ✘ | ✘ | ✘ | ✘ | ✘ | ✘ |
通过电子邮件创建问题 | ✘ | ✘ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
服务台 | ✘ | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ | ✘ |
拉取/合并请求
功能 | Gitea | Gogs | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE | RhodeCode EE |
---|---|---|---|---|---|---|---|---|
拉取/合并请求 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
合并压缩 | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
变基合并 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
拉取/合并请求内联评论 | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
拉取/合并请求审批 | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
拉取/合并请求需要审批 | ✓ | ✘ | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ |
拉取/合并请求多个审阅者 | ✓ | ✓ | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ |
合并冲突解决 | ✘ | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ |
限制某些用户的推送和合并访问权限 | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
还原特定提交 | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ |
拉取/合并请求模板 | ✓ | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
挑选变更 | ✓ | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ | ✓ |
下载补丁 | ✓ | ✘ | ✓ | ✓ | ✓ | / | ✓ | ✓ |
合并队列 | ✘ | ✘ | ✓ | ✘ | ✓ | ✘ | ✘ | ✘ |
第三方集成
功能 | Gitea | Gogs | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE | RhodeCode EE |
---|---|---|---|---|---|---|---|---|
Webhooks | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Git Hooks | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
AD/LDAP 集成 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
支持多个 LDAP/AD 服务器 | ✓ | ✓ | ✘ | ✘ | ✓ | ✓ | ✓ | ✓ |
LDAP 用户同步 | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ | ✓ |
SAML 2.0 服务提供商 | ✘ | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ | ✓ |
OpenID Connect 支持 | ✓ | ✘ | ✓ | ✓ | ✓ | ? | ✘ | ✓ |
OAuth 2.0 集成(外部授权) | ✓ | ✘ | ⁄ | ✓ | ✓ | ? | ✘ | ✓ |
充当 OAuth 2.0 提供商 | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ |
双因素身份验证(2FA) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✘ | ✓ |
与最常见服务的集成 | ✓ | / | ⁄ | ✓ | ✓ | ⁄ | ✓ | ✓ |
集成外部 CI/CD | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |