Skip to content
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

feat: improve git-lfs handling #756

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

orhun
Copy link
Contributor

@orhun orhun commented Apr 3, 2024

closes #686

Now we check if git-lfs is installed via running git lfs ls-files command. Also, we checkout a specific Git revision via git lfs fetch. pull is not required anymore so it is replaced with checkout.

  • git lfs fetch downloads objects to .git/lfs/objects
  • git lfs checkout replaces objects in your working directory from .git/lfs/objects. Does not download anything.
  • git lfs pull is a combination of git lfs fetch and git lfs checkout

@wolfv wolfv merged commit 71a070b into prefix-dev:main Apr 3, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Only fetch lfs files for specific git_ref
2 participants