Re: restoring all branches from a bundle
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- May 24, 2013, 11:42 UTC
- Message-ID
- <CACsJy8C6C1GpTts+n+5Bs=aFbAgRCaQ5K8c+kr1ux0tjUbbgeQ@mail.gmail.com>
- In-Reply-To
- <519F4684.7010905@intland.com>
On Fri, May 24, 2013 at 5:52 PM, "Ákos, Tajti" <akos.tajti@intland.com> wrote:
Show 7 quoted lines
> Dear List, > > I created a dump from a repository. git bundle list-heads prints all the > refs I meant to add. The problem is that after exracting the dump with git > bundle unbundle the target repository doesn't contain any branches (git > branch -a prints nothing). How can we exract a dump so that the branches are > also restored?
I think "git fetch /path/to/the/bundle <refspec>" does that. -- Duy