forgejo/docs/content/administration/git-lfs-support.zh-cn.md
John Olheiser 174ed3e356
Docusaurus-ify 1.19 (#26053)
See https://github.com/go-gitea/gitea/pull/26051

---------

Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
(cherry picked from commit 8c771c8b91)
2023-07-26 14:23:49 +02:00

713 B
Raw Blame History

date title slug sidebar_position toc draft aliases menu
2023-05-23T09:00:00+08:00 Git LFS 设置 git-lfs-setup 12 false false
/zh-cn/git-lfs-setup
sidebar
parent name sidebar_position identifier
administration Git LFS 设置 12 git-lfs-setup

配置 Git 大文件存储Large File StorageLFS

要使用 Gitea 内置的 LFS 支持,您需要更新 app.ini 文件:

[server]
; 启用 git-lfs 支持。true 或 false默认为 false。
LFS_START_SERVER = true

[lfs]
; 存放 LFS 文件的路径,默认为 data/lfs。
PATH = /home/gitea/data/lfs

注意LFS 服务器支持需要服务器上安装 Git v2.1.2 以上版本。