與其他 Git 託管的比較
為了幫助您決定 Gitea 是否適合您的需求,這裡是它與其他 Git 自託管選項的比較。
請注意,我們不會定期檢查其他產品的功能變更,因此此列表可能已過時。如果您發現需要在下表中更新的內容,請打開一個問題。
表格中使用的符號:
-
✓ - 支持
-
⁄ - 支持但功能有限
-
✘ - 不支持
-
⚙️ - 通過第三方軟件支持
一般功能
功能 | Gitea | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE | RhodeCode EE |
---|---|---|---|---|---|---|---|
開源且免費 | ✓ | ✘ | ✓ | ✘ | ✘ | ✓ | ✓ |
低 RAM/ CPU 使用量 | ✓ | ✘ | ✘ | ✘ | ✘ | ✘ | ✘ |
多數據庫支持 | ✓ | ✘ | ⁄ | ⁄ | ✓ | ✓ | ✓ |
多操作系統支持 | ✓ | ✘ | ✘ | ✘ | ✘ | ✓ | ✓ |
易於升級 | ✓ | ✘ | ✓ | ✓ | ✘ | ✓ | ✓ |
遠程遙測 | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ |
第三方渲染工具支持 | ✓ | ✘ | ✘ | ✘ | ✓ | ✘ | ✘ |
WebAuthn (2FA) | ✓ | ✓ | ✓ | ✓ | ✓ | ✘ | ✓ |
廣泛的 API | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
內置包/容器註冊表 | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
同步提交到外部倉庫(推送鏡像) | ✓ | ✘ | ✓ | ✓ | ✘ | ✓ | ✓ |
從外部倉庫同步提交(拉取鏡像) | ✓ | ✘ | ✓ | ✓ | ✘ | ✓ | ✓ |
淺色和深色主題 | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
自定義主題支持 | ✓ | ✘ | ✘ | ✘ | ✓ | ✓ | ✓ |
Markdown 支持 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
CSV 支持 | ✓ | ✓ | ✘ | ✘ | ✓ | ✘ | ✘ |
'GitHub / GitLab 頁面' | ⚙️, ⚙️ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
Gists / Snippets | ⚙️ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
特定倉庫的 wiki(作為倉庫本身) | ✓ | ✓ | ✓ | ✓ | / | ✘ | ✘ |
部署令牌 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
具有寫權限的倉庫令牌 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
RSS 提要 | ✓ | ✓ | ✘ | ✘ | ✘ | ✓ | ✓ |
內置 CI/CD | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
子組:組內組 | ✘ | ✘ | ✓ | ✓ | ✘ | ✓ | ✓ |
與其他實例的交互 | / | ✘ | ✘ | ✘ | ✘ | ✘ | ✘ |
Markdown 中的 Mermaid 圖表 | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
Markdown 中的數學語法 | ✓ | ✓ | ✓ | ✓ | ✘ | ✓ | ✓ |
代碼管理
功能 | Gitea | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE | RhodeCode EE |
---|---|---|---|---|---|---|---|
倉庫主題 | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
倉庫代碼搜索 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
全局代碼搜索 | ✓ | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ |
Git LFS 2.0 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
組里程碑 | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ | ✘ |
細粒度用戶角色(代碼、問題、Wiki 等) | ✓ | ✘ | ✓ | ✓ | ✘ | ✘ | ✘ |
驗證提交者 | ⁄ | ? | ✓ | ✓ | ✓ | ✘ | ✘ |
GPG 簽名提交 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
SSH 簽名提交 | ✓ | ✓ | ✓ | ✓ | ? | ✘ | ✘ |
拒絕未簽名的提交 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
從其他服務遷移倉庫 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
倉庫活動頁面 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
分支管理器 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
創建新分支 | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
網頁代碼編輯器 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
提交圖 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
模板倉庫 | ✓ | ✓ | ✘ | ✓ | ✓ | ✘ | ✘ |
Git Blame | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
圖像更改的可視比較 | ✓ | ✓ | ? | ? | ? | ✘ | ✘ |
- Gitea 具有內置的倉庫級代碼搜索
- 更好的代碼搜索支持可以通過使用倉庫索引器來實現
問題跟踪器
Feature | Gitea | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE | RhodeCode EE |
---|---|---|---|---|---|---|---|
Issue tracker | ✓ | ✓ | ✓ | ✓ | / | ✘ | ✘ |
Issue templates | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
Labels | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
Time tracking | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
Multiple assignees for issues | ✓ | ✓ | ✘ | ✓ | ✘ | ✘ | ✘ |
Related issues | ✘ | ⁄ | ✓ | ✓ | ✘ | ✘ | ✘ |
Confidential issues | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ | ✘ |
Comment reactions | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
Lock Discussion | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
Batch issue handling | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
Projects | / | ✘ | ✓ | ✓ | ✘ | ✘ | ✘ |
Create branch from issue | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ | ✘ |
Convert comment to new issue | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
Issue search | ✓ | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ |
Global issue search | / | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ |
Issue dependency | ✓ | ✘ | ✘ | ✘ | ✘ | ✘ | ✘ |
Create issue via email | ✘ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
Service Desk | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ | ✘ |
Pull/Merge requests
Feature | Gitea | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE | RhodeCode EE |
---|---|---|---|---|---|---|---|
Pull/Merge requests | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Squash merging | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Rebase merging | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Pull/Merge request inline comments | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Pull/Merge request approval | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Pull/Merge require approval | ✓ | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ |
Pull/Merge multiple reviewers | ✓ | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ |
Merge conflict resolution | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ |
Restrict push and merge access to certain users | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Revert specific commits | ✓ | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ |
Pull/Merge requests templates | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ | ✘ |
Cherry-picking changes | ✓ | ✘ | ✓ | ✓ | ✘ | ✘ | ✓ |
Download Patch | ✓ | ✓ | ✓ | ✓ | / | ✓ | ✓ |
Merge queues | ✓ | ✓ | ✘ | ✓ | ✘ | ✘ | ✘ |
3rd-party integrations
Feature | Gitea | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE | RhodeCode EE |
---|---|---|---|---|---|---|---|
Webhooks | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Git Hooks | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
AD / LDAP integration | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Multiple LDAP / AD server support | ✓ | ✘ | ✘ | ✓ | ✓ | ✓ | ✓ |
LDAP user synchronization | ✓ | ✓ | ✓ | ✓ | ✓ | ✘ | ✓ |
SAML 2.0 service provider | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ | ✓ |
OpenID Connect support | ✓ | ✓ | ✓ | ✓ | ? | ✘ | ✓ |
OAuth 2.0 integration (external authorization) | ✓ | ⁄ | ✓ | ✓ | ? | ✘ | ✓ |
Act as OAuth 2.0 provider | ✓ | ✓ | ✓ | ✓ | ✓ | ✘ | ✘ |
Two factor authentication (2FA) | ✓ | ✓ | ✓ | ✓ | ✓ | ✘ | ✓ |
Integration with the most common services | ✓ | ⁄ | ✓ | ✓ | ⁄ | ✓ | ✓ |
Incorporate external CI/CD | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |