Open bwplotka opened 4 years ago
Hi :wave:
I am pretty sure with existing API we are missing git checkout -- <file> https://github.com/src-d/go-git/issues/891 feature. I would like to propose:
git checkout -- <file>
CheckoutOptions
Path string
Would you accept such contribution? :hugs:
I'm looking for this feature "Sparse Checkout" as well. anybody already worked on this? thanks
Hi :wave:
I am pretty sure with existing API we are missing
git checkout -- <file>
https://github.com/src-d/go-git/issues/891 feature. I would like to propose:CheckoutOptions
withPath string
which will make checkout behavior as here: https://git-scm.com/docs/git-checkout#Documentation/git-checkout.txt-emgitcheckoutem-f--ours--theirs-m--conflictltstylegtlttree-ishgt--pathspec-from-fileltfilegt--pathspec-file-nulWould you accept such contribution? :hugs: