Say when --track is useful in the git-checkout docs.
The documentation used to say what the option does, but it didn't mention a use case. Signed-off-by: Federico Mena Quintero <federico@gnu.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Federico Mena Quintero committed
Oct 2, 2007 at 18:32 UTC
ac150747d7cc62d53daf9f7c128a0fa88a399f44
1 file changed
+3
-1
Documentation/git-checkout.txt
+3
-1
@@ -50,7 +50,9 @@ OPTIONS
50
--track::
51
When -b is given and a branch is created off a remote branch,
52
set up configuration so that git-pull will automatically
53
- retrieve data from the remote branch. Set the
53
+ retrieve data from the remote branch. Use this if you always
54
+ pull from the same remote branch into the new branch, or if you
55
+ don't want to use "git pull <repository> <refspec>" explicitly. Set the
56
branch.autosetupmerge configuration variable to true if you
57
want git-checkout and git-branch to always behave as if
58
'--track' were given.