Tips on selective LFS resolving

7 views
Skip to first unread message

Infinite Persistence

unread,
Sep 8, 2025, 4:54:37 AMSep 8
to SmartGit
  1. What's the equivalent of `GIT_LFS_SKIP_SMUDGE=1` in SmartGit during a pull?
    • I tried the "Skip large files ("partial clone") option, but it still seem to resolve LFS files.
I then did `GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/google/gemma-3-270m-it` from the command line instead, then added the repo into SmartGit.
(Note that I do not have git-lfs installed in the system).
  1. Is there a selective way to resolve specific LFS files only (e.g. "right-click > LFS > resolve" or something)?

Thanks :)

Infinite Persistence

unread,
Sep 8, 2025, 8:04:46 AMSep 8
to SmartGit
For the 2nd question, I've figure out how to use the Tools feature to add `git lfs pull --include="xxx"` on a per-file basis

syntevo Support

unread,
Sep 8, 2025, 8:08:20 AMSep 8
to smar...@googlegroups.com
> 1. *What's the equivalent of `GIT_LFS_SKIP_SMUDGE=1` in SmartGit
> during a pull?* - I tried the "Skip large files ("partial
> clone") option, but it still seem to resolve LFS files.

There is no specific option in SmartGit for a particular Pull. You can only configure this as an environment variable (globally).

> I then did `GIT_LFS_SKIP_SMUDGE=1 git clone
> https://huggingface.co/google/gemma-3-270m-it` from the command line
> instead, then added the repo into SmartGit. 1. *Is there a
> selective way to resolve specific LFS files only *(e.g.
> "right-click > LFS > resolve" or something)?

Unfortunately, no. But even if there was ...

> (Note that I do not have git-lfs installed in the system).

... without git-lfs, this wouldn't work.

--
Best regards,
Marc Strapetz
syntevo GmbH
https://www.syntevo.com



09/08/2025 10:55 - Infinite Persistence wrote:

>
>
> 1. *What's the equivalent of `GIT_LFS_SKIP_SMUDGE=1` in SmartGit during
> a pull?*
> - I tried the "Skip large files ("partial clone") option, but it
> still seem to resolve LFS files.
>
> I then did `GIT_LFS_SKIP_SMUDGE=1 git clone
> https://huggingface.co/google/gemma-3-270m-it` from the command line
> instead, then added the repo into SmartGit.
> (Note that I do not have git-lfs installed in the system).
>
> 1. *Is there a selective way to resolve specific LFS files only *(e.g.
> "right-click > LFS > resolve" or something)?
>
>
> Thanks :)
>
> --
> You received this message because you are subscribed to the Google Groups
> "SmartGit" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> smartgit+u...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/smartgit/807262dc-e245-45e2-9984-98282260db7en%40googlegroups.com.
>
Reply all
Reply to author
Forward
0 new messages