Markdown
Gitea uses MarkDown structured text in many places, you can recognise it by the .md file extension.
個人資料 README
要在您的 Gitea 個人資料頁面顯示一個 Markdown 文件,只需建立一個名為 .profile 的儲存庫,並編輯其中的 README.md 文件。Gitea 將自動獲取該文件並在您的儲存庫上方顯示。
Blame File View
Gitea supports viewing the line-by-line revision history for a file also known as blame view.
郵件接收
Gitea 支援通過接收郵件執行多種操作。本頁面描述瞭如何進行設定。
模板儲存庫
Gitea 1.11.0 及以上版本引入了模板儲存庫,並且其中一個實現的功能是自動展開模板文件中的特定變量。
推送
在將提交推送到 Gitea 伺服器時,還有一些額外的功能。
克隆過濾器 (部分克隆)
Git 引入了 --filter 選項用於 git clone 命令,該選項可以過濾掉大文件和對象(如 blob),從而建立一個儲存庫的部分克隆。克隆過濾器對於大型儲存庫和/或按流量計費的連接特別有用,因為完全克隆(不使用 --filter)可能會很昂貴(需要下載所有歷史資料)。
Code Owners
Gitea maintains code owner files. It looks for it in the following locations in this order:
Webhooks
Gitea 可以為儲存庫活動送出對外 Webhook。儲存庫層級的 Webhook 由儲存庫管理員
Migration
You can migrate repositories from other Git services to your Gitea instance.
儲存庫鏡像
儲存庫鏡像允許將儲存庫與外部源之間進行鏡像。您可以使用它在儲存庫之間鏡像分支、標籤和提交。