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

[PATCH] Fix typo in remote branch example in git user manual

From
Gerrit Pape <pape@smarden.org>
Date
Jun 5, 2007, 08:47 UTC
Message-ID
<20070605084751.23322.qmail@fcde833ae749fc.315fe32.mid.smarden.org>
In Documentation/user-manual.txt the example
 $ git checkout --track -b origin/maint maint
under "Getting updates with git pull", should read
 $ git checkout --track -b maint origin/maint
This was noticed by Ron, and reported through
 http://bugs.debian.org/427502
Signed-off-by: Gerrit Pape <pape@smarden.org>
---
 Documentation/user-manual.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
index 7eaafa8..342de6d 100644
--- a/Documentation/user-manual.txt
+++ b/Documentation/user-manual.txt
@@ -1682,7 +1682,7 @@ automatically set the default remote branch to pull from at the time
 that a branch is created:
 
 -------------------------------------------------
-$ git checkout --track -b origin/maint maint
+$ git checkout --track -b maint origin/maint
 -------------------------------------------------
 
 In addition to saving you keystrokes, "git pull" also helps you by
-- 
1.5.2
Next: J. Bruce Fields
Message 1 of 2 in “Fix typo in remote branch example in git user manual”
  1. Fix typo in remote branch example in git user manualGerrit Pape, Jun 5, 2007
  2. J. Bruce FieldsJun 5, 2007

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.