threads / patch / 8436

patchFix typo in remote branch example in git user manual

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

## tl;dr

2 messages between Jun 5, 2007 and Jun 5, 2007. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Gerrit Pape· Jun 5, 2007, 08:47 UTC · lore
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(-)
Show changes to Documentation/user-manual.txt +1 −1
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
J. Bruce Fields· Jun 5, 2007, 22:46 UTC · re: Gerrit Pape · lore

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

On Tue, Jun 05, 2007 at 08:47:51AM +0000, Gerrit Pape wrote:
> 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
Yep, thanks for the fix!--b.

← back to recent threads