git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Ákos, Tajti
Message 2 of 2 in “restoring all branches from a bundle”
  1. Ákos, TajtiMay 24, 2013
  2. Duy NguyenMay 24, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.