-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Instead of cloning the repo and then looking for a tag, you can use git ls-remote (Remote::create_detached & connect_auth & list in git2) to find a tag and its sha1.
When you have a sha1, you can init an empty repo, and do git fetch +3db7c05aa35749cc4e0f0f892bc5831219901f98:refs/heads/whateverbranch --depth=1 to get just that one commit.
link2xt
Metadata
Metadata
Assignees
Labels
No labels