Code

Fix typo in remote branch example in git user manual
authorGerrit Pape <pape@smarden.org>
Tue, 5 Jun 2007 08:47:51 +0000 (08:47 +0000)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Sun, 10 Jun 2007 20:38:50 +0000 (16:38 -0400)
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>
Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Documentation/user-manual.txt

index b64c55f3df80d9f952d008cf36056839377c68ec..25695fe77e0cc5224862c5ec22746b2ba685b25d 100644 (file)
@@ -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