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

Re: git bundle unbundle and "check-outable" refs

From
Jakub Narebski <jnareb@gmail.com>
Date
Sep 29, 2011, 17:20 UTC
Message-ID
<m3ty7vnu4g.fsf@localhost.localdomain>
In-Reply-To
<dec8c877-bd6e-4120-b045-87179d54abe2@i30g2000yqd.googlegroups.com>
"Todd A. Jacobs" <nospam+listmail@codegnome.org> writes:
Show 8 quoted lines
> Never having needed git bundle before, I've recently been using it as
> a sneakernet. In particular, I'm using bundles to work around
> limitations of filesystem semantics on vfat and hpfs+ drives when
> shared between Linux and OS X systems. The systems are air-gapped, so
> sneakernet is essential.
> 
> At any rate, the issue I'm dealing with is that "git bundle unbundle"
> is sort of non-intuitive to deal with. [...]
I guess the fault is with "git bundle" documentation.

The "Example" section of git-bundle(1) manpage shows that you can use path to bundle in place of URL to repository in "git clone". Actually you can use path to bundle anywhere where URL or nickname of repository is/can be used, i.e.:

  git remote add <name> <bundle>
  git fetch <bundle> [<refspec>...]
  git pull <bundle>  [<refspec>...]
  git ls-remote <bundle>
HTH
-- 
Jakub Narębski
Previous: Junio C Hamano
Message 3 of 3 in “git bundle unbundle and "check-outable" refs”
  1. Todd A. JacobsSep 29, 2011
  2. Junio C HamanoSep 29, 2011
  3. Jakub NarebskiSep 29, 2011

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.