On Wed, Dec 08, 2021 at 09:08:38AM -0800, vinay wrote:

> We are migrating from SVN to GitHub version control system.

A minot nitpick: there's no such thing as a "GitHub version control system".
Github is a Git hosting service; it has pretty much value added to plain Git
but it in inself is not a VCS.

> As we have a huge repository, I'm trying to  git sparse-checkout feature to
> checkout and download the specific folder from the repo instead of cloning
> entire repo every time. 
[...]
> Actual Result: It downloads the respective /path/to/directory but not 
> downloading the lfs file which are stored in that /path/to/directory
> 
> I'm trying several ways to handle these lfs files using *git lfs pull *but 
[...]

Please note that this is the first place in your message where you mention
you're using git-lfs [3]. I would say it what you should have mentioned
first - if only because this is a 3rd-party extention to Git developed and
supported by Github, - as opposed to sparse checkout which is a core feature
of Git ;-)

> Any suggestions on handling the LFS files using the git sparse-checkout ?

I did [1] and found [2].
Does this address your problem?

 1. https://github.com/git-lfs/git-lfs/issues?q=is%3Aissue+sparse
 2. https://github.com/git-lfs/git-lfs/issues/3803
 3. https://git-lfs.github.com/

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/20211209150213.te5rqonqdrq6w56z%40carbon.

Reply via email to