git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Junio C Hamano <junkio@cox.net>
To: "J. Bruce Fields" <bfields@fieldses.org>
Cc: git@vger.kernel.org
Subject: Re: merging initial part of a branch?
Date: Wed, 11 Jan 2006 17:47:05 -0800	[thread overview]
Message-ID: <7vmzi2i5eu.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <20060112005531.GB14599@fieldses.org> (J. Bruce Fields's message of "Wed, 11 Jan 2006 19:55:32 -0500")

"J. Bruce Fields" <bfields@fieldses.org> writes:

>> I haven't tried this for some time, but I presume
>> 
>> 	$ git pull linus tag v2.6.15
>> 
>> would do what you want.
>
> Yep!  Thanks.  The only documentation I can find for this is a slightly
> obscure bit in the git-pull man page which lists this as a "short-cut"
> notation.  What is it a shortcut for?  Is it possible to specify an
> arbitrary commit in place of the "tag v2.6.15" somehow?

The phrase "short-hand" refers to "linus" in the above example.
I.e. the name of the file in $GIT_DIR/remotes that records the
URL (among other things).

You can only say either "branchname" or "tag tagname" for pull,
because of the way underlying git native protocol works (it may
not be too hard to extend it, but I haven't looked into it nor
particularly interested in looking into it at the moment).

  reply	other threads:[~2006-01-12  1:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-11 23:04 merging initial part of a branch? J. Bruce Fields
2006-01-11 23:47 ` Junio C Hamano
2006-01-12  0:15   ` Andreas Ericsson
2006-01-12  0:24     ` Junio C Hamano
2006-01-12  0:59       ` Andreas Ericsson
2006-01-12  1:13         ` J. Bruce Fields
2006-01-12  0:55   ` J. Bruce Fields
2006-01-12  1:47     ` Junio C Hamano [this message]
2006-01-13  3:08       ` J. Bruce Fields
2006-01-13  4:00         ` Junio C Hamano
2006-01-13 15:10           ` J. Bruce Fields
2006-01-13 19:50             ` Junio C Hamano
2006-01-13 20:01               ` J. Bruce Fields
     [not found]                 ` <20060115185458.GA3985@fieldses.org>
2006-01-15 23:26                   ` [PATCH] new tutorial Junio C Hamano
2006-01-16  3:57                     ` J. Bruce Fields
2006-01-16  5:32                       ` Junio C Hamano
2006-01-23  4:57                     ` J. Bruce Fields

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

  List information: http://vger.kernel.org/majordomo-info.html

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

  git send-email \
    --in-reply-to=7vmzi2i5eu.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=bfields@fieldses.org \
    --cc=git@vger.kernel.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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).