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

Can a git repository be initialized with a bundle?

From
TKTom Koelman <tkoelman@xs4all.nl>
Date
Feb 13, 2008, 08:21 UTC
Message-ID
<m3abm56zc9.fsf@assurancetourix.xs4all.nl>
Hi,
I got some repository from which I created a bundle like so:
$ git bundle create all.bundle --all
Now I want to recreate this repository somewhere else:

$ mkdir tmp ; cd tmp ; git init Initialized empty Git repository in .git/ $ git fetch all.bundle fatal: Couldn't find remote ref HEAD

It doesn't matter whether I try to fetch, pull, or add -f to the command line, I always get this response.

Am I trying to accomplish something that can't be done or am I doing it wrong?

I am running git version 1.5.4.1 under Linux.

Regards, Tom Koelman

Next: Santi Béjar
Message 1 of 2 in “Can a git repository be initialized with a bundle?”
  1. Tom KoelmanFeb 13, 2008
  2. Santi BéjarFeb 13, 2008

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.