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 支持用于仓库事件的 Webhooks。这可以在仓库管理员在设置页面 /reponame/settings/hooks 中进行配置。Webhooks 还可以基于组织和整个系统进行配置。
Migration
You can migrate repositories from other Git services to your Gitea instance.
仓库镜像
仓库镜像允许将仓库与外部源之间进行镜像。您可以使用它在仓库之间镜像分支、标签和提交。