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

2 messages from 2007-06-05 to 2007-06-05. Participants: Gerrit Pape, J. Bruce Fields.
Thread: https://gitlist.dev/t/8436

## Gerrit Pape, 2007-06-05 08:47

Subject: [PATCH] Fix typo in remote branch example in git user manual
Message-ID: <20070605084751.23322.qmail@fcde833ae749fc.315fe32.mid.smarden.org>
URL: https://gitlist.dev/e/20070605084751.23322.qmail%40fcde833ae749fc.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

```

## J. Bruce Fields, 2007-06-05 22:46

Subject: Re: [PATCH] Fix typo in remote branch example in git user manual
Message-ID: <20070605224635.GG2352@fieldses.org>
URL: https://gitlist.dev/e/20070605224635.GG2352%40fieldses.org
In-Reply-To: <20070605084751.23322.qmail@fcde833ae749fc.315fe32.mid.smarden.org>

```
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.

```
