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

Re: merging initial part of a branch?

From
JFJ. Bruce Fields <bfields@fieldses.org>
Date
Jan 12, 2006, 00:55 UTC
Message-ID
<20060112005531.GB14599@fieldses.org>
In-Reply-To
<7vek3epbs9.fsf@assigned-by-dhcp.cox.net>
On Wed, Jan 11, 2006 at 03:47:34PM -0800, Junio C Hamano wrote:
Show 14 quoted lines
> "J. Bruce Fields" <bfields@fieldses.org> writes:
> > External kernel projects sometimes work only against major
> > releases--it's easier for their users/testers to find a major release
> > than a random git version, and at least in the early prototype stage, it
> > isn't critical to be working on the tip all the time.
> >
> > Is there a simple way to say, for example, "merge in all the upstream
> > changes up to v2.6.15"?
> 
> 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?

--b.
Previous: J. Bruce FieldsNext: Junio C Hamano
Message 7 of 17 in “merging initial part of a branch?”
  1. J. Bruce FieldsJan 11, 2006
  2. Junio C HamanoJan 11, 2006
  3. Andreas EricssonJan 12, 2006
  4. Junio C HamanoJan 12, 2006
  5. Andreas EricssonJan 12, 2006
  6. J. Bruce FieldsJan 12, 2006
  7. J. Bruce FieldsJan 12, 2006
  8. Junio C HamanoJan 12, 2006
  9. J. Bruce FieldsJan 13, 2006
  10. Junio C HamanoJan 13, 2006
  11. J. Bruce FieldsJan 13, 2006
  12. Junio C HamanoJan 13, 2006
  13. J. Bruce FieldsJan 13, 2006
  14. Junio C HamanoJan 15, 2006
  15. J. Bruce FieldsJan 16, 2006
  16. Junio C HamanoJan 16, 2006
  17. J. Bruce FieldsJan 23, 2006

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.