public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox•com>
To: Jacob Keller <jacob.keller@gmail•com>
Cc: Git mailing list <git@vger•kernel.org>
Subject: Re: how to fetch entire heirarchy of refs from a remote?
Date: Thu, 07 Jan 2016 15:15:59 -0800	[thread overview]
Message-ID: <xmqqpoxd2d74.fsf@gitster.mtv.corp.google.com> (raw)
In-Reply-To: <CA+P7+xqexsOma5c9NfS5ma333UJV=5i1a4GhnwZuU75eaxRd=Q@mail.gmail.com> (Jacob Keller's message of "Thu, 7 Jan 2016 15:06:00 -0800")

Jacob Keller <jacob.keller@gmail•com> writes:

> refs/changes/98/47298/3
> refs/changes/98/57298/1
> refs/changes/98/57298/2
> refs/changes/98/73598/1
> refs/changes/99/44099/1
> refs/changes/99/69299/1
>
>
> Is it possible to specify a refspec such that all of these will be
> fetched? I tried doing
>
> +refs/changes/*:refs/changes/*
>
> but this doesn't work since the * can only be one portion of a refspec

I am not sure if I follow.  With refs/heads/*:refs/remotes/origin/*
(e.g. following git://github.com/gitster/git for example), I am
reasonably sure you would get my refs/heads/jk/notes-dwim-doc and
other topics you authored without the slash between jk and
notes-dwim-doc getting in the way.

  reply	other threads:[~2016-01-07 23:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-07 23:06 how to fetch entire heirarchy of refs from a remote? Jacob Keller
2016-01-07 23:15 ` Junio C Hamano [this message]
2016-01-07 23:23   ` Jacob Keller
2016-01-07 23:25   ` Jacob Keller
2016-01-07 23:36 ` Jacob Keller
2016-01-07 23:45   ` Junio C Hamano
2016-01-08 16:30     ` Jacob Keller
2016-01-07 23:39 ` Jacob Keller

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=xmqqpoxd2d74.fsf@gitster.mtv.corp.google.com \
    --to=gitster@pobox$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=jacob.keller@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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