[Smtk-developers] LFS configuration options
Ben Boeckel
ben.boeckel at kitware.com
Tue Jul 25 16:14:58 EDT 2017
Hi,
So looking at LFS configuration knobs, these seem interesting:
* `lfs.storage`
Allow override LFS storage directory. Non-absolute path is
relativized to inside of Git repository directory (usually
`.git`).
Note: you should not run `git lfs prune` if you have different
repositories sharing the same storage directory.
Default: `lfs` in Git repository directory (usually `.git/lfs`).
This should make it possible to share LFS directories. It is a per-clone
option though. Or you could have one global LFS data store I suppose.
* `lfs.fetchinclude`
When fetching, only download objects which match any entry on this
comma-separated list of paths/filenames. Wildcard matching is as per
git-ignore(1). See git-lfs-fetch(1) for examples.
* `lfs.fetchexclude`
When fetching, do not download objects which match any item on this
comma-separated list of paths/filenames. Wildcard matching is as per
git-ignore(1). See git-lfs-fetch(1) for examples.
If you'd like to ignore specific files in a clone.
--Ben
More information about the Smtk-developers
mailing list