go-git icon indicating copy to clipboard operation
go-git copied to clipboard

LFS support?

Open cosmotek opened this issue 3 years ago • 4 comments

Just curious... does this project offer any sort of support for Git LFS?

cosmotek avatar Sep 27 '21 04:09 cosmotek

Git LFS source code utilizes Go modules in its build system, and therefore this project contains a go.mod file with a defined Go module path. However, we do not maintain a stable Go language API or ABI, as Git LFS is intended to be used solely as a compiled binary utility. Please do not import the git-lfs module into other Go code and do not rely on it as a source code dependency.

from https://github.com/git-lfs/git-lfs#limitations Git lfs support is apart from git.

xinnjie avatar Mar 14 '22 17:03 xinnjie

@xinnjie it seem go-git could not clone lfs file. I tried but failed. btw, my environment already install git lfs and could clone successfully with git clone command

Phelan164 avatar May 20 '22 10:05 Phelan164

seems that unless git lfs changes their mind about extending support to others git lfs support is not possible. Really sucks as I need it for my use case

mattbucci avatar Jun 15 '22 22:06 mattbucci

To help us keep things tidy and focus on the active tasks, we've introduced a stale bot to spot issues/PRs that haven't had any activity in a while.

This particular issue hasn't had any updates or activity in the past 90 days, so it's been labeled as 'stale'. If it remains inactive for the next 30 days, it'll be automatically closed.

We understand everyone's busy, but if this issue is still important to you, please feel free to add a comment or make an update to keep it active.

Thanks for your understanding and cooperation!

github-actions[bot] avatar Mar 31 '24 07:03 github-actions[bot]