Docusaurus-ify 1.19 (#26053)

See https://github.com/go-gitea/gitea/pull/26051

---------

Signed-off-by: jolheiser <[email protected]>
Co-authored-by: Giteabot <[email protected]>
This commit is contained in:
John Olheiser
2023-07-26 10:01:15 +08:00
committed by GitHub
co-authored by Giteabot
parent 94947e2be5
commit bd74711ecc
217 changed files with 707 additions and 1176 deletions
+32
View File
@@ -0,0 +1,32 @@
---
date: "2023-05-23T09:00:00+08:00"
title: "Git LFS 设置"
slug: "git-lfs-setup"
sidebar_position: 12
toc: false
draft: false
aliases:
- /zh-cn/git-lfs-setup
menu:
sidebar:
parent: "administration"
name: "Git LFS 设置"
sidebar_position: 12
identifier: "git-lfs-setup"
---
# 配置 Git 大文件存储(Large File StorageLFS
要使用 Gitea 内置的 LFS 支持,您需要更新 `app.ini` 文件:
```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 以上版本。