From: Junio C Hamano Date: Thu, 12 Jan 2006 01:47:05 GMT Subject: Re: merging initial part of a branch? Message-ID: <7vmzi2i5eu.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060112005531.GB14599@fieldses.org> "J. Bruce Fields" 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).