Skip to content

Commit 1da158e

Browse files
g-papeJ. Bruce Fields
authored andcommitted
Fix typo in remote branch example in git user manual
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>
1 parent 99f171b commit 1da158e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/user-manual.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1682,7 +1682,7 @@ automatically set the default remote branch to pull from at the time
16821682
that a branch is created:
16831683

16841684
-------------------------------------------------
1685-
$ git checkout --track -b origin/maint maint
1685+
$ git checkout --track -b maint origin/maint
16861686
-------------------------------------------------
16871687

16881688
In addition to saving you keystrokes, "git pull" also helps you by

0 commit comments

Comments
 (0)