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

[PATCH] gittutorial: remove misleading note

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Jan 23, 2009, 18:02 UTC
Message-ID
<1232733749-6120-1-git-send-email-vmiklos@frugalware.org>

In the tutorial Alice initializes the repository, and Bob clones it. So Bob can just do a 'git pull', but Alice will need 'git pull <url> <branch>'.

The note suggested that the branch parameter is not necessary, which is no longer true these days.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
---
The problem was reported by DanC on IRC.
 Documentation/gittutorial.txt |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/Documentation/gittutorial.txt b/Documentation/gittutorial.txt
index 458fafd..c5d5596 100644
--- a/Documentation/gittutorial.txt
+++ b/Documentation/gittutorial.txt
@@ -308,9 +308,7 @@ alice$ git pull /home/bob/myrepo master
 
 This merges the changes from Bob's "master" branch into Alice's
 current branch.  If Alice has made her own changes in the meantime,
-then she may need to manually fix any conflicts.  (Note that the
-"master" argument in the above command is actually unnecessary, as it
-is the default.)
+then she may need to manually fix any conflicts.
 
 The "pull" command thus performs two operations: it fetches changes
 from a remote branch, then merges them into the current branch.
-- 
1.6.1
Next: Junio C Hamano
Message 1 of 3 in “gittutorial: remove misleading note”
  1. gittutorial: remove misleading noteMiklos Vajna, Jan 23, 2009
  2. Junio C HamanoJan 23, 2009
  3. Miklos VajnaJan 23, 2009

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.