![]() tmp/testrepo$ git fetch-pack /home/josh/src/linux-2.6/.git refs/tags/v2.6.12-tree On a different note, git fetch-pack seems to silently fail if asked toįetch a remote tag which points at a tree object rather than a commit Warning: Remote branch refs/tags/v2.6.12 not found in upstream origin, using HEAD instead tmp/testrepo$ git clone /home/josh/src/linux-2.6/.git -b refs/tags/v2.6.12 ![]() git clone will clone a branch, but not a tag. However, I can't seem to find any way to convince git clone to do the ID8DBQBCsykyF3YsRnbiHLsRAvPNAJ482tCZwuxp/bJRz7Q98MHlN83TpACdHr37Ĭommit 9ee1c939d1cb936b1f98e8d81aeffab57bae46ab tmp/testrepo$ git fetch-pack /home/josh/src/linux-2.6/.git refs/tags/v2.6.12 Initialized empty Git repository in /tmp/testrepo/.git/ Using fetch-pack, I can clone a single tag from a repository: 6:26 ` Jeff King 0 siblings, 1 reply 5+ messages in threadįrom: Josh Triplett 22:20 UTC ( / raw) Cloning a remote tag without using git-fetch-pack directly? All of help / color / mirror / Atom feed * Cloning a remote tag without using git-fetch-pack directly? 22:20 Josh Triplett
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |