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

Re: [PATCH] Add a reference to gitk localbranc remote/branch in gittutorial

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 25, 2008, 21:53 UTC
Message-ID
<7v63pog3rn.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<loom.20080825T200956-169@post.gmane.org>
Eric Raible <raible@gmail.com> writes:
Show 13 quoted lines
> Paolo Ciarrocchi <paolo.ciarrocchi <at> gmail.com> writes:
>
>> +Alice can also use gitk to browse that Bob did:
>
> s/that/what/ ?
>
>> +------------------------------------------------
>> +alice$ gitk master origin/master
>> +------------------------------------------------
>
> I think that you meant:
>
> alice$ gitk master..origin/master

I'd suggest rewording the explanation to have Alice "compare what both of them did", not just "browse what Bob did".

And for that purpose, I think the original form used by Paolo's patch is the most appropriate here in an early part of the tutorial, as it teaches how to view full histories leading to the tips of these two branches.

Earlier in the tutorial sequence we teach "gitk" without any parameter to view the history of the current branch, and here the user learns one new thing, to view more than just the current branch.

Limiting the output with "..origin/master" (or "...origin/master") can be taught after demonstrating this most basic form.

Previous: Paolo CiarrocchiNext: Paolo Ciarrocchi
Message 4 of 15 in “Add a reference to gitk localbranc remote/branch in gittutorial”
  1. Add a reference to gitk localbranc remote/branch in gittutorialPaolo Ciarrocchi, Aug 25, 2008
  2. Eric RaibleAug 25, 2008
  3. Paolo CiarrocchiAug 25, 2008
  4. Junio C HamanoAug 25, 2008
  5. Paolo CiarrocchiAug 25, 2008
  6. Junio C HamanoAug 26, 2008
  7. Paolo CiarrocchiAug 26, 2008
  8. Eric RaibleAug 26, 2008
  9. Paolo CiarrocchiAug 26, 2008
  10. Paolo CiarrocchiAug 26, 2008
  11. Junio C HamanoAug 26, 2008
  12. Paolo CiarrocchiAug 27, 2008
  13. Junio C HamanoAug 27, 2008
  14. Paolo CiarrocchiAug 28, 2008
  15. Paolo CiarrocchiAug 27, 2008

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.