-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't automatically download LFS objects (for all users) #2717
Comments
You can set git-lfs/docs/man/git-lfs-config.5.ronn Lines 163 to 173 in ac19b5e
Keep in mind, this can be overridden by a local git config change or command line flag. The order of preference for this change is:
Here's the command line flags that git-lfs/docs/man/git-lfs-pull.1.ronn Lines 18 to 35 in ac19b5e
Checking this change in |
What does this look like in I currently have the following, and it doesn't seem to work:
|
@thomasbiddle it should look like the following:
(note that |
@ttaylorr That worked - thanks! |
If using the mentioned setting in |
Once I've excluded the files, how do I purposely download them in a specific scenario? |
You can use |
hmm that didn't work but
|
Based on git-lfs/git-lfs#2717 The purpose of this is two-fold: (1) It keeps clones and fetches lighter-weight (2) It keeps our LFS bandwidth down, so we're less likely to need to upgrade our account (though that may be free for our educational account).
Currently setup to not download files by default. For users that need the large files, this can be overridden by local git config or command line, e.g.: git lfs pull --include="*" --exclude="" See git-lfs/git-lfs#2717
Based on git-lfs/git-lfs#2717 The purpose of this is two-fold: (1) It keeps clones and fetches lighter-weight (2) It keeps our LFS bandwidth down, so we're less likely to need to upgrade our account (though that may be free for our educational account).
How do I go about adding this to When I the recommended above to
with line 30 of my
Any idea why that's happening? |
Those values don't go in |
Doh. Thanks! |
Based on git-lfs/git-lfs#2717 The purpose of this is two-fold: (1) It keeps clones and fetches lighter-weight (2) It keeps our LFS bandwidth down, so we're less likely to need to upgrade our account (though that may be free for our educational account).
I've set up Git LFS in a repo I am working on. The repo contains several large files, and several hundred more large files will be added in the future. It is annoying when these files are automatically downloaded as part of git pull.
Is there a config option that I can put in .lfsconfig in our repo that will disable the automatic downloading of LFS files for all users of the repo? Automatic upload is fine, I just want to disable automatic download.
The text was updated successfully, but these errors were encountered: