Git pull doesnt download file






















Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 10 years ago. Active 10 years ago. Viewed 5k times.

Improve this question. Add a comment. Active Oldest Votes. Improve this answer. GlyphGryph GlyphGryph 4, 4 4 gold badges 28 28 silver badges 42 42 bronze badges. I don't think I committed their deletion 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. Automatic upload is fine, I just want to disable automatic download. The text was updated successfully, but these errors were encountered:. Lines to 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 pull can accept in case they do need some files:. Lines 18 to 35 in ac19b5e. Checking this change in.

Sorry, something went wrong. Only paths which are matched by fetchinclude and not matched by fetchexclude will have objects fetched for them. It sounds like you want more fine grained control over this process though. You can run git lfs install --skip-smudge to disable the git smudge filter, requiring you to run git lfs pull every time your working directory changes. This adds an extra command to your workflow, but now you can apply -I or -X on a per-command basis. Skip to content.

Star 9. New issue. Jump to bottom. Copy link. I am unable to get git lfs pull to do anything ie no output. For instance, if you did the following: Commit a. Yes, my initial was just that and only that. It's a private repo, I added you both. See for yourselves. All my objs display as proper pointer files. Sorry for closing your issue! I misunderstood what you were looking for. Notice how nothing happens until you run git pull at T1: git lfs fetch --all will fetch all my lfs objects.

Some are. But definitely not all. This only occurs if I let Jenkins clone the repo the way it does above. The text was updated successfully, but these errors were encountered:. Interestingly, during the Jenkins-run git checkout I can see all of the lfs files failing to download with:. This problem here wasn't meant to be the focus of this issue. But I am led to understand that a git checkout , even without git lfs init should still download lfs files?

Sorry, something went wrong. Okay a little bit more info - I did another couple of rounds of testing and I've found that I can get the repo to fully sync. But only after I do get lfs pull twice:. Error buffering media file. Note that way more files than the 3 Error buffering media file errors suggest are be broken. I also only saw those errors on the last test I did. I'm not sure if any of this information allows you to reproduce and resolve.

I'm happy to perform more complex debugging if I could get some pointers on how to do so. But I am led to understand that a git checkout, even without git lfs init should still download lfs files? This only needs to be run once on the server to get in the global config though. However, you're better off relying on git lfs pull because it will download the files in a single command, with some concurrency.

Well, when whatever bug you're running into here is fixed :. Well the odd thing here is that the git checkout run by Jenkins is still running the smudge filter, but it is failing horribly, as per the above errors.



0コメント

  • 1000 / 1000