pygit2 icon indicating copy to clipboard operation
pygit2 copied to clipboard

Allow checkout_branch to point to a tag in clone_repository method

Open antazoey opened this issue 3 years ago • 2 comments

When I try to provide a tag to the checkout_branch flag in pygit2.clone_repository(), it fails and is unable to find the reference. It would be nice to be able to checkout a tag right away (like a branch) on clone to clone a specifc release of a package

antazoey avatar May 18 '22 23:05 antazoey

Bump to this issue, I also faced the inability to clone repository using a tag

amyasnikov avatar Feb 14 '23 22:02 amyasnikov

Same here. Supporting everything a regular git checkout does would be great, i.e. SHA, branch or tag.

postlund avatar Apr 30 '24 07:04 postlund