git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix typo in remote branch example in git user manual
@ 2007-06-05  8:47 Gerrit Pape
  2007-06-05 22:46 ` J. Bruce Fields
  0 siblings, 1 reply; 2+ messages in thread
From: Gerrit Pape @ 2007-06-05  8:47 UTC (permalink / raw)
  To: Junio C Hamano, git

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix typo in remote branch example in git user manual
  2007-06-05  8:47 [PATCH] Fix typo in remote branch example in git user manual Gerrit Pape
@ 2007-06-05 22:46 ` J. Bruce Fields
  0 siblings, 0 replies; 2+ messages in thread
From: J. Bruce Fields @ 2007-06-05 22:46 UTC (permalink / raw)
  To: Junio C Hamano, git

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-05 22:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-05  8:47 [PATCH] Fix typo in remote branch example in git user manual Gerrit Pape
2007-06-05 22:46 ` J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).