31436a59e4
Since the default branch has changed to main on GitHub and likely will change in Git in the future, let's change our documentation to use "main" as the default branch name. This will be easier and less confusing for users. |
||
---|---|---|
.. | ||
schemas | ||
authentication.md | ||
basic-transfers.md | ||
batch.md | ||
locking.md | ||
README.md | ||
server-discovery.md |
Git LFS API
The Git LFS client uses an HTTPS server to coordinate fetching and storing large binary objects separately from a Git server. The basic process the client goes through looks like this:
- Discover the LFS Server to use.
- Apply Authentication.
- Make the request. See the Batch and File Locking API sections.
Batch API
The Batch API is used to request the ability to transfer LFS objects with the LFS server.
API Specification:
Current transfer adapters include:
Experimental transfer adapters include:
- Tus.io (upload only)
- Custom
File Locking API
The File Locking API is used to create, list, and delete locks, as well as verify that locks are respected in Git pushes.
API Specification: