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

Subsystems: documentation, the rest

DORMANTno replies

3 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

From: Paolo Ciarrocchi <hidden>
Date: 2016-06-15 22:45:13

Hi all,
I think it's worth to mention that a user can issue the command:

	$gitk local remote/branch

to browse what he/she just fetched from the remote branch.

Thanks to a few guys on the #git channel!


Signed-off-by: Paolo Ciarrocchi <redacted>
---
 Documentation/gittutorial.txt |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Documentation/gittutorial.txt b/Documentation/gittutorial.txt
index 48d1454..1407973 100644
--- a/Documentation/gittutorial.txt
+++ b/Documentation/gittutorial.txt
@@ -326,6 +326,12 @@ alice$ git log -p ..FETCH_HEAD
 
 This operation is safe even if Alice has uncommitted local changes.
 
+Alice can also use gitk to browse that Bob did:
+
+------------------------------------------------
+alice$ gitk master origin/master
+------------------------------------------------
+
 After inspecting what Bob did, if there is nothing urgent, Alice may
 decide to continue working without pulling from Bob.  If Bob's history
 does have something Alice would immediately need, Alice may choose to
-- 
1.6.0.2.g2ebc0.dirty

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

From: Eric Raible <hidden>
Date: 2016-06-15 22:45:13

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

right?

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

From: Paolo Ciarrocchi <hidden>
Date: 2016-06-15 22:45:13

On Mon, Aug 25, 2008 at 10:12 PM, Eric Raible [off-list ref] wrote:
Paolo Ciarrocchi <paolo.ciarrocchi <at> gmail.com> writes:
quoted
+Alice can also use gitk to browse that Bob did:
s/that/what/ ?
Yes!
quoted
+------------------------------------------------
+alice$ gitk master origin/master
+------------------------------------------------
I think that you meant:

alice$ gitk master..origin/master

right?
Well, I thought gitk master origin/master would be sufficient.
Guess I'm wrong...

Cheers,
-- 
Paolo
http://paolo.ciarrocchi.googlepages.com/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help