Skip to content

Commit

Permalink
Fix typo in remote branch example in git user manual
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gerrit Pape authored and J. Bruce Fields committed Jun 10, 2007
1 parent 99f171b commit 1da158e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/user-manual.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1da158e

Please sign in to comment.