git-lfs/git-lfs

Public

Git extension for versioning large files

  • Stars14.6k+14 tuần này
  • Forks2.3k
  • Watchers470
  • Issues451
  • Ngày tạo23/09/2013
  • Cập nhật gần nhất24/10/2026
  • Ngôn ngữGo
  • Giấy phép—
README.md19.7 KBRaw

Git Large File Storage

CI status

Git LFS is a command line extension and specification for managing large files with Git.

The client is written in Go, with pre-compiled binaries available for Mac, Windows, Linux, and FreeBSD. Check out the website for an overview of features.

Getting Started

Installing

On Linux

Debian and RPM packages are available from packagecloud, see the Linux installation instructions.

On macOS

Homebrew bottles are distributed and can be installed via brew install git-lfs.

On Windows

Git LFS is included in the distribution of Git for Windows. Alternatively, you can install a recent version of Git LFS from the Chocolatey package manager.

Using mise-en-place

If you are using the mise-en-place tool manager, Git LFS can be installed and made available in all of your project directories by running:

$ mise use --global git-lfs@latest

The mise utility supports Linux, macOS, and Windows, and provides various configuration options including system-wide settings for all users. See the project documentation for details on how to use this utility to manage your tools, environment variables, and also some tasks.

From binary

Binary packages are available for Linux, macOS, Windows, and FreeBSD. The binary packages include a script which will:

  • Install Git LFS binaries onto the system $PATH. On Windows in particular, you may need to restart your command shell so any change to $PATH will take effect and Git can locate the Git LFS binary.
  • Run git lfs install to perform required global configuration changes.
$ ./install.sh

Note that Debian and RPM packages are built for multiple Linux distributions and versions for both amd64 and i386. For arm64, only Debian packages are built and only for recent versions due to the cost of building in emulation.

From source

  • Ensure you have the latest version of Go, GNU make, and a standard Unix-compatible build environment installed.
  • On Windows, install goversioninfo with go install github.com/josephspurrier/goversioninfo/cmd/goversioninfo@latest

Nội dung README thuộc về git-lfs và cộng đồng đóng góp, giấy phép Không có giấy phép. Nguồn: github.com/git-lfs/git-lfs