dc5cc42e3785020d4a165bbb3fbd213acde3723f
[scm/test.git] / docs / man / git-lfs.1.ronn
1 git-lfs(1) -- Work with large files in Git repositories
2 =======================================================
3
4 ## SYNOPSIS
5
6 `git lfs` <command> [<args>]
7
8 ## DESCRIPTION
9
10 Git LFS is a system for managing and versioning large files in
11 association with a Git repository.  Instead of storing the large files
12 within the Git repository as blobs, Git LFS stores special "pointer
13 files" in the repository, while storing the actual file contents on a
14 Git LFS server.  The contents of the large file are downloaded
15 automatically when needed, for example when a Git branch containing
16 the large file is checked out.
17
18 Git LFS works by using a "smudge" filter to look up the large file
19 contents based on the pointer file, and a "clean" filter to create a
20 new version of the pointer file when the large file's contents change.
21 It also uses a `pre-push` hook to upload the large file contents to
22 the Git LFS server whenever a commit containing a new large file
23 version is about to be pushed to the corresponding Git server.
24
25 ## COMMANDS
26
27 Like Git, Git LFS commands are separated into high level ("porcelain")
28 commands and low level ("plumbing") commands.
29
30 ### High level commands (porcelain)
31
32 * git-lfs-env(1):
33     Display the Git LFS environment.
34 * git-lfs-checkout(1):
35     Populate working copy with real content from Git LFS files.
36 * git lfs clone:
37     Efficiently clone a Git LFS-enabled repository.
38 * git-lfs-fetch(1):
39     Download Git LFS files from a remote.
40 * git-lfs-fsck(1):
41     Check Git LFS files for consistency.
42 * git-lfs-install(1):
43     Install Git LFS configuration.
44 * git-lfs-lock(1):
45     Set a file as "locked" on the Git LFS server.
46 * git-lfs-locks(1):
47     List currently "locked" files from the Git LFS server.
48 * git-lfs-logs(1):
49     Show errors from the git-lfs command.
50 * git-lfs-ls-files(1):
51     Show information about Git LFS files in the index and working tree.
52 * git-lfs-migrate(1):
53     Migrate history to or from git-lfs
54 * git-lfs-prune(1):
55     Delete old Git LFS files from local storage
56 * git-lfs-pull(1):
57     Fetch LFS changes from the remote & checkout any required working tree files.
58 * git-lfs-push(1):
59     Push queued large files to the Git LFS endpoint.
60 * git-lfs-status(1):
61     Show the status of Git LFS files in the working tree.
62 * git-lfs-track(1):
63     View or add Git LFS paths to Git attributes.
64 * git-lfs-uninstall(1):
65     Uninstall Git LFS by removing hooks and smudge/clean filter configuration.
66 * git-lfs-unlock(1):
67     Remove "locked" setting for a file on the Git LFS server.
68 * git-lfs-untrack(1):
69     Remove Git LFS paths from Git Attributes.
70 * git-lfs-update(1):
71     Update Git hooks for the current Git repository.
72 * git lfs version:
73     Report the version number.
74
75 ### Low level commands (plumbing)
76
77 * git-lfs-clean(1):
78     Git clean filter that converts large files to pointers.
79 * git-lfs-pointer(1):
80     Build and compare pointers.
81 * git-lfs-pre-push(1):
82     Git pre-push hook implementation.
83 * git-lfs-smudge(1):
84     Git smudge filter that converts pointer in blobs to the actual content.