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

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

From
PCPaolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
Date
Aug 25, 2008, 19:50 UTC
Message-ID
<20080825215023.11822a20@paolo-desktop>

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 <paolo.ciarrocchi@gmail.com>
---
 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
Next: Eric Raible
Message 1 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.