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

Re: git-rev-tree

From
Linus Torvalds <torvalds@osdl.org>
Date
Nov 8, 2005, 03:35 UTC
Message-ID
<Pine.LNX.4.64.0511071934410.3247@g5.osdl.org>
In-Reply-To
<20051108025755.GA22243@redhat.com>
On Mon, 7 Nov 2005, Dave Jones wrote:
Show 12 quoted lines
> 
> (18:47:37:davej@hera:agp2)$ export KERNEL=master.kernel.org:/pub/scm/linux/kernel/git/
> (18:47:43:davej@hera:agp2)$ git fetch $KERNEL/torvalds/linux-2.6 master:linus
> davej@master.kernel.org's password:
> Packing 35335 objects
> Unpacking 35335 objects
>  100% (35335/35335) done
> * committish: d27ba47e7e8c466c18983a1779d611f82d6a354f
>   branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git//torvalds/linux-2.6
> * refs/heads/linus: storing branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git//torvalds/linux-2.6
> 
> which looks ok, but then when I do the git log linus..HEAD, I get no output at all.
You've got the right "linus" commit.

However, are you aware that I did pull from you? If you don't have anything new, "no output at all" is the right thing.

> *click*, ahh wait, I didn't have a 'linus' branch before I did that fetch.
> For the above to work, do I need there to be a 'linus' branch before
> I start making changes ?  Or am I barking up the wrong tree ?
No, the above will have created the "linus" branch as needed.
		Linus
Previous: Dave JonesNext: Dave Jones
Message 4 of 6 in “git-rev-tree”
  1. Dave JonesNov 8, 2005
  2. Linus TorvaldsNov 8, 2005
  3. Dave JonesNov 8, 2005
  4. Linus TorvaldsNov 8, 2005
  5. Dave JonesNov 8, 2005
  6. Junio C HamanoNov 8, 2005

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.