-
Notifications
You must be signed in to change notification settings - Fork 496
Closed
Description
The git-lfs
feature successfully downloads onto my codespace, however it is not actually running git lfs install
as is expected. This also makes the autoPull
option non-functioning.
I've tried many permutations but here is an example of my image/feature combination.
{
"image": "mcr.microsoft.com/devcontainers/base:2-ubuntu-24.04",
"features": {
"ghcr.io/devcontainers/features/git-lfs:1": {
"autoPull": false // Doesn't change anything even if I make it `true` because `git-lfs` isn't installed
}
}
}
Running git lfs pull
manually in the terminal results in the following:
@andreilgeorgescu ➜ /workspaces/base (main) $ git lfs pull
Skipping object checkout, Git LFS is not installed for this repository.
Consider installing it with 'git lfs install'.
The workaround I have found is to add the following commands to my codespace:
"onCreateCommand": "git lfs install",
"postCreateCommand": "git lfs pull",
However, it would be much better if the extension could handle this itself.
Metadata
Metadata
Assignees
Labels
No labels