Git development
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "Todd A. Jacobs" <nospam+listmail@codegnome.org>
Cc: git@vger.kernel.org
Subject: Re: git bundle unbundle and "check-outable" refs
Date: Thu, 29 Sep 2011 09:49:11 -0700	[thread overview]
Message-ID: <7vsjnfthtk.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <dec8c877-bd6e-4120-b045-87179d54abe2@i30g2000yqd.googlegroups.com> (Todd A. Jacobs's message of "Thu, 29 Sep 2011 08:51:23 -0700 (PDT)")

"Todd A. Jacobs" <nospam+listmail@codegnome.org> writes:

> directly to the local repository, but doesn't give me any of the
> branch refs that I'm expecting from such an operation. In other words,
> if I bundle branch foo on machine A, then unbundle on machine B, I
> expect to be able to "git checkout foo" and get on with life.

$ git bundle -h
usage: git bundle create <file> <git-rev-list args>
   or: git bundle verify <file>
   or: git bundle list-heads <file> [<refname>...]
   or: git bundle unbundle <file> [<refname>...]

$ git bundle list-heads /var/tmp/junk/foo.bundle
632052641517de1a965c1f045b97d2eaa541b2e9 refs/heads/maint

$ git fetch /var/tmp/junk/foo.bundle maint
From /var/tmp/junk/foo.bundle
 * branch            maint      -> FETCH_HEAD

or

$ git fetch /var/tmp/junk/foo.bundle maint:bundle_head
$ git log bundle_head

  reply	other threads:[~2011-09-29 16:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-29 15:51 git bundle unbundle and "check-outable" refs Todd A. Jacobs
2011-09-29 16:49 ` Junio C Hamano [this message]
2011-09-29 17:20 ` Jakub Narebski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7vsjnfthtk.fsf@alter.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=nospam+listmail@codegnome.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox