mirror of https://github.com/go-gitea/gitea
Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
617 B
31 lines
617 B
5 years ago
|
---
|
||
|
date: "2019-10-06T08:00:00+05:00"
|
||
|
title: "Usage: Git LFS setup"
|
||
|
slug: "git-lfs-setup"
|
||
|
weight: 12
|
||
4 years ago
|
toc: false
|
||
5 years ago
|
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
|
||
3 years ago
|
|
||
|
[lfs]
|
||
5 years ago
|
; Where your lfs files reside, default is data/lfs.
|
||
3 years ago
|
PATH = /home/gitea/data/lfs
|
||
4 years ago
|
```
|
||
3 years ago
|
|
||
|
**Note**: LFS server support needs at least Git v2.1.2 installed on the server
|