{"thread":{"id":"33917","subject":"restoring all branches from a bundle","startedAt":"2013-05-24T10:52:52Z","lastAt":"2013-05-24T11:42:37Z","messageCount":2,"participants":["Ákos, Tajti","Duy Nguyen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"218360","messageId":"519F4684.7010905@intland.com","threadId":"33917","inReplyTo":null,"subject":"restoring all branches from a bundle","fromName":"Ákos, Tajti","fromEmail":"akos.tajti@intland.com","sentAt":"2013-05-24T10:52:52Z","receivedAt":"2013-05-24T10:52:52Z","isPatch":false,"sender":{"key":"akos.tajti@intland.com","avatar":null},"body":"Dear List,\n\nI created a dump from a repository. git bundle list-heads prints all the \nrefs I meant to add. The problem is that after exracting the dump with \ngit bundle unbundle the target repository doesn't contain any branches \n(git branch -a prints nothing). How can we exract a dump so that the \nbranches are also restored?\n\nThanks in advance,\nÁkos Tajti\n"},{"id":"218363","messageId":"CACsJy8C6C1GpTts+n+5Bs=aFbAgRCaQ5K8c+kr1ux0tjUbbgeQ@mail.gmail.com","threadId":"33917","inReplyTo":"519F4684.7010905@intland.com","subject":"Re: restoring all branches from a bundle","fromName":"Duy Nguyen","fromEmail":"pclouds@gmail.com","sentAt":"2013-05-24T11:42:37Z","receivedAt":"2013-05-24T11:42:37Z","isPatch":false,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"On Fri, May 24, 2013 at 5:52 PM, \"Ákos, Tajti\" <akos.tajti@intland.com> wrote:\n> Dear List,\n>\n> I created a dump from a repository. git bundle list-heads prints all the\n> refs I meant to add. The problem is that after exracting the dump with git\n> bundle unbundle the target repository doesn't contain any branches (git\n> branch -a prints nothing). How can we exract a dump so that the branches are\n> also restored?\n\nI think \"git fetch /path/to/the/bundle <refspec>\" does that.\n--\nDuy\n"}]}