ry of the repository, not the current HEAD (or other
  provided reference). This will include previous versions of LFS objects that
  are no longer found in the current tree.
  
* --deleted:
  Shows the full history of the given reference, including objects that have
  been deleted.
  
* -I <paths> --include=<paths>:
  Include paths matching only these patterns; see "Fetch settings".
  
* -X <paths> --exclude=<paths>:
  Exclude paths matching any of these patterns; see "Fetch settings".
  
* -n --name-only:
  Show only the lfs tracked file names.

git lfs filter-process
git lfs filter-process --skip

Implement the Git process filter API, exchanging handshake messages and then
accepting and responding to requests to either clean or smudge a file.

filter-process is always run by Git's filter process, and is configured by the
repository's Git attributes.

In your Git configuration or in a .lfsconfig file, you may set either or
both of lfs.fetchinclude and lfs.fetchexclude to comma-separated lists of
paths.  If lfs.fetchinclude is defined, Git LFS pointer files will only be
replaced with the contents of the corresponding Git LFS object file if their
path matches one in that list, and if lfs.fetchexclude is defined, Git LFS
pointer files will only be replaced with the contents of the corresponding
Git LFS object file if their path does not match one in that list.  Paths are
matched using wildcard matching as per gitignore(5).  Git LFS pointer files
that are not replaced with the contents of their corresponding object files
are simply copied to standard output without change.

The filter process uses Git's pkt-line protocol to communicate, and is
documented in detail in gitattributes(5).

Options:

Without any options, filter-process accepts and responds to requests normally.

* --skip:
    Skip automatic downloading of objects on clone or pull.
  
* GIT_LFS_SKIP_SMUDGE:
    Disables the smudging process. For more, see: git lfs config.
  

git lfs locks [options]

Lists current locks from the Git LFS server.

Options:

* -r <name> --remote=<name>:
  Specify the Git LFS server to use. Ignored if the lfs.url config key is set.
  
* -i <id> --id=<id>:
  Specifies a lock by its ID. Returns a single result.
  
* -p <path> --path=<path>:
  Specifies a lock by its path. Returns a single result.
  
* --local:
  Lists only our own locks which are cached locally. Skips a remote call.
  
* --cached:
  Lists cached locks from the last remote call. Contrary to --local, this will
  include locks of other users as well. This option is intended to display the
  last known locks in case you are offline. There is no guarantee that locks
  on the server have not changed in the meanwhile.
  
* --verify:
  Verifies the lock owner on the server and marks our own locks by 'O'.
  Own locks are actually held by us and corresponding files can be updated for
  the next push. All other locks are held by someone else.
  Contrary to --local, this option will also detect locks which are held by us
  despite no local lock information being available (e.g. because the file had
  been locked from a different clone);
  it will also detect 'broken' locks (e.g. if someone else has forcefully
  unlocked our files).
  
* -l <num> --limit=<num>:
  Specifies number of results to return.
  
* --json:
  Writes lock info as JSON to STDOUT if the command exits successfully. Intended
  for interoperation with external tools. If the command returns with a non-zero
  exit code, plain text messages will be sent to STDERR.
  

git lfs pull [options] [<remote>]

Download Git LFS objects for the currently checked out ref, and update
the working copy with the downloaded content if required.

This is equivalent to running the following 2 commands:

git lfs fetch [options] [<remote>]
git lfs checkout

Options:

* -I <paths> --include=<paths>:
  Specify lfs.fetchinclude just for this invocation; see "Include and exclude"
  
* -X <paths> --exclude=<paths>:
  Specify lfs.fetchexclude just for this invocation; see "Include and exclude"
  
Include and exclude
-------------------

You can configure Git LFS to only fetch objects to satisfy references in certain
paths of the repo, and/or to exclude certain paths of the repo, to reduce the
time you spend downloading things you do not use.

In your Git configuration or in a .lfsconfig file, you may set either or
both of lfs.fetchinclude and lfs.fetchexclude to comma-separated lists of
paths.  If lfs.fetchinclude is defined, Git LFS objects will only be fetched
if their path matches one in that list, and if lfs.fetchexclude is defined,
Git LFS objects will only be fetched if their path does not match one
in that list.  Paths are matched using wildcard matching as per gitignore(5).

Note that using the command-line options -I and -X override the respective
configuration settings.  Setting either option to an empty string clears the
value.

Default remote
--------------

Without arguments, pull downloads from the default remote. The default remote is
the same as for git pull, i.e. based on the remote branch you're tracking
first, or origin otherwise.


git lfs smudge [<path>]
git lfs smudge --skip [<path>]

Read a Git LFS pointer file from standard input and write the contents
of the corresponding large file to standard output.  If needed,
download the file's contents from the Git LFS endpoint.  The <path>
argument, if provided, is only used for a progress bar.

Smudge is typically run by Git's smudge filter, configured by the repository's
Git attributes.

In your Git configuration or in a .lfsconfig file, you may set either or
both of lfs.fetchinclude and lfs.fetchexclude to comma-separated lists of
paths.  If lfs.fetchinclude is defined, Git LFS pointer files will only be
replaced with the contents of the corresponding Git LFS object file if their
path matches one in that list, and if lfs.fetchexclude is defined, Git LFS
pointer files will only be replaced with the contents of the corresponding
Git LFS object file if their path does not match one in that list.  Paths are
matched using wildcard matching as per gitignore(5).  Git LFS pointer files
that are not replaced with the contents of their corresponding object files
are simply copied to standard output without change.

Options:

Without any options, git lfs smudge outputs the raw Git LFS content to
standard output.

* --skip:
    Skip automatic downloading of objects on clone or pull.
  
* GIT_LFS_SKIP_SMUDGE:
    Disables the smudging process. For more, see: git lfs config.
  
Known bugs
----------

On Windows, Git before 2.34.0 does not handle files in the working tree larger
than 4 gigabytes.  Newer versions of Git, as well as Unix versions, are
unaffected.


git lfs clone [git clone options] <repository> [<directory>]

Clone an LFS enabled Git repository more efficiently by disabling LFS during the
git clone, then performing a 'git lfs pull' directly afterwards.

'git lfs clone' also installs all of the repo-level hooks (.git/hooks) that LFS
requires to operate. If --separate-git-dir is given, the hooks will be
installed there.

This is faster than a regular 'git clone' because that will download LFS content
using the smudge filter, which is executed individually per file in the working
copy. This is relatively inefficient compared to the batch mode and parallel
downloads performed by 'git lfs pull'.

Options:

All options supported by 'git clone'

* -I <paths> --include=<paths>:
  See "Include and exclude"
  
* -X <paths> --exclude=<paths>:
  See "Include and exclude"
  
* --skip-repo:
  Skip installing repo-level hooks (.git/hooks) that LFS requires. Disabled by
  default.
  
Include and exclude
-------------------

You can configure Git LFS to only fetch objects to satisfy references in certain
paths of the repo, and/or to exclude certain paths of the repo, to reduce the
time you spend downloading things you do not use.

In your Git configuration or in a .lfsconfig file, you may set either or
both of lfs.fetchinclude and lfs.fetchexclude to comma-separated lists of
paths.  If lfs.fetchinclude is defined, Git LFS objects will only be fetched
if their path matches one in that list, and if lfs.fetchexclude is defined,
Git LFS objects will only be fetched if their path does not match one
in that list.  Paths are matched using wildcard matching as per gitignore(5).

Note that using the command-line options -I and -X override the respective
configuration settings.  Setting either option to an empty string clears the
value.


git lfs install [options]

Perform the following actions to ensure that Git LFS is setup properly:

* Set up the clean and smudge filters under the name "lfs" in the global Git
  config.
* Install a pre-push hook to run git lfs pre-push for the current repository,
  if run from inside one. If "core.hooksPath" is configured in any Git
  configuration (and supported, i.e., the installed Git version is at least
  2.9.0), then the pre-push hook will be installed to that directory instead.
  
Options:

Without any options, git lfs install will only setup the "lfs" smudge and clean
filters if they are not already set.

* --force:
    Sets the "lfs" smudge and clean filters, overwriting existing values.
* --local:
    Sets the "lfs" smudge and clean filters in the local repository's git
    config, instead of the global git config (~/.gitconfig).
* --worktree:
    Sets the "lfs" smudge and clean filters in the current working tree's
    git config, instead of the global git config (~/.gitconfig) or local
    repository's git config ($GIT_DIR/config).
    If multiple working trees are in use, the Git config extension
    worktreeConfig must be enabled to use this option.
    If only one working tree is in use, --worktree has the same effect
    as --local.
    This option is only available if the installed Git version is at least
    2.20.0 and therefore supports the "worktreeConfig" extension.
* --manual:
    Print instructions for manually updating your hooks to include git-lfs
    functionality. Use this option if git lfs install fails because of existing
    hooks and you want to retain their functionality.
* --system:
    Sets the "lfs" smudge and clean filters in the system git config, e.g. /etc/gitconfig
    instead of the global git config (~/.gitconfig).
* --skip-smudge:
    Skips automatic downloading of objects on clone or pull. This requires a
    manual "git lfs pull" every time a new commit is checked out on your
    repository.
* --skip-repo:
    Skips setup of the local repo; use if you want to install the global lfs
    filters but not make changes to the current repo.
  

git lfs track [options] [<pattern>...]

Start tracking the given patterns(s) through Git LFS.  The <pattern> argument
is written to .gitattributes. If no paths are provided, simply list the
currently-tracked paths.

The [gitattributes documentation](https://git-scm.com/docs/gitattributes) states
that patterns use the [gitignore pattern rules](https://git-scm.com/docs/gitignore)
to match paths. This means that patterns which contain asterisk (*), question
mark (?), and the bracket characters ([ and ]) are treated specially; to
disable this behavior and treat them literally instead, use --filename or
escape the character with a backslash.

Options:

* --verbose -v:
  If enabled, have git lfs track log files which it will touch. Disabled by
  default.
  
* --dry-run -d:
  If enabled, have git lfs track log all actions it would normally take
  (adding entries to .gitattributes, touching files on disk, etc) without
  performing any mutative operations to the disk.
  
  git lfs track --dry-run [files] also implicitly mocks the behavior of
  passing the --verbose, and will log in greater detail what it is doing.
  
  Disabled by default.
  
* --filename
  Treat the arguments as literal filenames, not as patterns. Any special glob
  characters in the filename will be escaped when writing the .gitattributes
  file.
  
* --lockable -l
  Make the paths 'lockable', meaning they should be locked to edit them, and
  will be made read-only in the working copy when not locked.
  
* --not-lockable
  Remove the lockable flag from the paths so they are no longer read-only unless
  locked.
  
* --no-excluded
  Do not list patterns that are excluded in the output; only list patterns that
  are tracked.
  
* --no-modify-attrs
  Makes matched entries stat-dirty so that Git can re-index files you wish to
  convert to LFS. Does not modify any .gitattributes file(s).
  
Examples
--------

* List the patterns that Git LFS is currently tracking:
  
    git lfs track
  
* Configure Git LFS to track GIF files:
  
    git lfs track "*.gif"
  
* Configure Git LFS to track PSD files and make them read-only unless locked:
  
    git lfs track --lockable "*.psd"
  
* Configure Git LFS to track the file named project [1].psd:
  
    git lfs track --filename "project [1].psd"
  

git lfs checkout [<glob-pattern>...]
git lfs checkout --to <file> {--base|--ours|--theirs} <conflict-obj-path>

Try to ensure that the working copy contains file content for Git LFS objects
for the current ref, if the object data is available. Does not download any
content; see git lfs fetch for that.

Checkout scans the current ref for all LFS objects that would be required, then
where a file is either missing in the working copy, or contains placeholder
pointer content with the same SHA, the real file content is written, provided
we have it in the local store. Modified files are never overwritten.

One or more <glob-pattern>s may be provided as arguments to restrict the
set of files that are updated. Glob patterns are matched as per the format
described in gitignore(5).

When used with --to and the working tree is in a conflicted state due to a
merge, this option checks out one of the three stages a conflicting Git LFS
object into a separate file (which can be outside of the work tree).
This can make using diff tools to inspect and resolve merges easier.
A single Git LFS object's file path must be provided in <conflict-obj-path>.

Options:

* --base:
  Check out the merge base of the specified file.
  
* --ours:
  Check out our side (that of the current branch) of the conflict for the
  specified file.
  
* --theirs:
  Check out their side (that of the other branch) of the conflict for the
  specified file.
  
* --to <path>:
  If the working tree is in a conflicted state, check out the portion of the
  conflict specified by --base, --ours, or --theirs to the given path.
  
Examples
--------

* Checkout all files that are missing or placeholders:
  
  
  $ git lfs checkout
  
  
* Checkout a specific couple of files:
  
  
  $ git lfs checkout path/to/file1.png path/to.file2.png
  
  
* Checkout a path with a merge conflict into separate files:
  
  
  # Attempt merge with a branch that has a merge conflict
  $ git merge conflicting-branch
  CONFLICT (content): Merge conflict in path/to/conflicting/file.dat
  
  # Checkout versions of the conflicting file into temp files
  $ git lfs checkout ours.dat --ours path/to/conflicting/file.dat
  $ git lfs checkout theirs.dat --theirs path/to/conflicting/file.dat
  
  # Compare conflicting versions in ours.dat and theirs.dat,
  # then resolve conflict (e.g., by choosing one version over
  # the other, or creating a new version)
  
  # Cleanup and continue with merge
  $ rm ours.dat theirs.dat
  $ git add path/to/conflicting/file.dat
  $ git merge --continue
  
  

git lfs merge-driver [options]

Merge text files stored in Git LFS using the default Git merge machinery, or a
custom merge driver if specified.  Note that this, in general, does not support
partial renames or copies because Git does not support them in this case.

This program is intended to be invoked automatically by Git and not by users
manually.  See "Configuration" for details on the configuration required for
that.

Options:

* --ancestor <path>
  Specify the file containing the ancestor revision.
  
* --current <path>
  Specify the file containing the current revision.
  
* --marker-size <num>
  Specify the conflict marker size as an integer.
  
* --other <path>
  Specify the file containing the other revision.
  
* --program <program>
  Specify a command, which is passed to the shell after substitution, that
  performs the actual merge.  If this is not specified, git merge-file is
  invoked with appropriate arguments to perform the merge of the file.
  
  See "Configuration" for the sequences which are substituted here.
  
Configuration
-------------

Git allows the use of a custom merge driver for files based on the merge
attribute set in .gitattributes.  By default, when using git lfs track, this
value is set to lfs.

Because Git LFS can be used to store both text and binary files and it isn't
always clear which behavior should be used, Git LFS does not enable this merge
driver by default.  However, if you know that some or all of your files are text
files, then you can set the merge attribute for those files to lfs-text and
use git config to set the merge driver like so:

console
$ git config merge.lfs-text.driver 'git lfs merge-driver --ancestor %O --current %A --other %B --marker-size %L --output %A'


This tells Git to invoke the custom Git LFS merge driver, which in turn uses
Git's merge machinery, to merge files where the merge attribute is set to
lfs-text.  Note that lfs-text here is an example and any syntactically valid
value can be used.

If you are using a special type of file that needs rules different from Git's
standard merge machinery, you can also specify the --program option, which
is passed to sh after substituting its own percent-encoded escapes:

* %A: the current version
* %B: the other version
* %D: the destination version
* %O: the ancestor version
* %L: the conflict marker size
  
  Note that the percent sign must typically be doubled to prevent Git from
  substituting its own values here.  Therefore, specifying the default behavior
  explicitly looks like this:
  
  console
  $ git config merge.lfs-text.driver \
  'git lfs merge-driver --ancestor %O --current %A --other %B --marker-size %L --output %A --program '\''git merge-file --stdout --marker-size=%%L %%A %%O %%B >%%D'\'''
  
  
  The exit status from the custom command should be zero on success or non-zero on
  conflicts or other failure.
  
  Note that if no merge driver is specified for the value of the merge attribute
  (as is the case by default with merge=lfs), then the default Git merge
  strategy is used.  For LFS files, this means that Git will try to merge the
  pointer files, which usually is not useful.
  

git lfs <command> [<args>]

Git LFS is a system for managing and versioning large files in
association with a Git repository.  Instead of storing the large files
within the Git repository as blobs, Git LFS stores special "pointer
files" in the repository, while storing the actual file contents on a
Git LFS server.  The contents of the large file are downloaded
automatically when needed, for example when a Git branch containing
the large file is checked out.

Git LFS works by using a "smudge" filter to look up the large file
contents based on the pointer file, and a "clean" filter to create a
new version of the pointer file when the large file's contents change.
It also uses a pre-push hook to upload the large file contents to
the Git LFS server whenever a commit containing a new large file
version is about to be pushed to the corresponding Git server.

Commands
--------

Like Git, Git LFS commands are separated into high level ("porcelain")
commands and low level ("plumbing") commands.

High level porcelain commands
-----------------------------

* git lfs checkout:
    Populate working copy with real content from Git LFS files.
* git lfs dedup:
    De-duplicate Git LFS files.
* git lfs env:
    Display the Git LFS environment.
* git lfs ext:
    Display Git LFS extension details.
* git lfs fetch:
    Download Git LFS files from a remote.
* git lfs fsck:
    Check Git LFS files for consistency.
* git lfs install:
    Install Git LFS configuration.
* git lfs lock:
    Set a file as "locked" on the Git LFS server.
* git lfs locks:
    List currently "locked" files from the Git LFS server.
* git lfs logs:
    Show errors from the Git LFS command.
* git lfs ls-files:
    Show information about Git LFS files in the index and working tree.
* git lfs migrate:
    Migrate history to or from Git LFS
* git lfs prune:
    Delete old Git LFS files from local storage
* git lfs pull:
    Fetch Git LFS changes from the remote & checkout any required working tree
    files.
* git lfs push:
    Push queued large files to the Git LFS endpoint.
* git lfs status:
    Show the status of Git LFS files in the working tree.
* git lfs track:
    View or add Git LFS paths to Git attributes.
* git lfs uninstall:
    Uninstall Git LFS by removing hooks and smudge/clean filter configuration.
* git lfs unlock:
    Remove "locked" setting for a file on the Git LFS server.
* git lfs untrack:
    Remove Git LFS paths from Git Attributes.
* git lfs update:
    Update Git hooks for the current Git repository.
* git lfs version:
    Report the version number.
  
Low level plumbing commands
---------------------------

* git lfs clean:
    Git clean filter that converts large files to pointers.
* git lfs filter-process:
    Git process filter that converts between large files and pointers.
* git lfs merge-driver:
    Merge text-based LFS files
* git lfs pointer:
    Build and compare pointers.
* git lfs post-checkout:
    Git post-checkout hook implementation.
* git lfs post-commit:
    Git post-commit hook implementation.
* git lfs post-merge:
    Git post-merge hook implementation.
* git lfs pre-push:
    Git pre-push hook implementation.
* git lfs smudge:
    Git smudge filter that converts pointer in blobs to the actual content.
* git lfs standalone-file:
    Git LFS standalone transfer adapter for file URLs (local paths).
  
Examples
--------

To get started with Git LFS, the following commands can be used.

 1. Setup Git LFS on your system. You only have to do this once per
    repository per machine:

        git lfs install

 2. Choose the type of files you want to track, for examples all ISO
    images, with git lfs track:

        git lfs track "*.iso"

 3. The above stores this information in gitattributes(5) files, so
    that file needs to be added to the repository:

        git add .gitattributes

 4. Commit, push and work with the files normally:

        git add file.iso
        git commit -m "Add disk image"
        git push
