mirror of
https://github.com/go-gitea/gitea
synced 2024-11-17 23:54:25 +00:00
5e5740af69
* Switch to non-deprecation setting (Avoid by-default: "Deprecated fallback `[server]` `LFS_CONTENT_PATH` present. Use `[lfs]` `PATH` instead. This fallback will be removed in v1.18.0") * Update all references
31 lines
617 B
Markdown
31 lines
617 B
Markdown
---
|
|
date: "2019-10-06T08:00:00+05:00"
|
|
title: "Usage: Git LFS setup"
|
|
slug: "git-lfs-setup"
|
|
weight: 12
|
|
toc: false
|
|
draft: false
|
|
menu:
|
|
sidebar:
|
|
parent: "usage"
|
|
name: "Git LFS setup"
|
|
weight: 12
|
|
identifier: "git-lfs-setup"
|
|
---
|
|
|
|
# Git Large File Storage setup
|
|
|
|
To use Gitea's built-in LFS support, you must update the `app.ini` file:
|
|
|
|
```ini
|
|
[server]
|
|
; Enables git-lfs support. true or false, default is false.
|
|
LFS_START_SERVER = true
|
|
|
|
[lfs]
|
|
; Where your lfs files reside, default is data/lfs.
|
|
PATH = /home/gitea/data/lfs
|
|
```
|
|
|
|
**Note**: LFS server support needs at least Git v2.1.2 installed on the server
|