Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:13

Eric Raible [off-list ref] writes:
Paolo Ciarrocchi <paolo.ciarrocchi <at> gmail.com> writes:
quoted
+Alice can also use gitk to browse that Bob did:
s/that/what/ ?
quoted
+------------------------------------------------
+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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help