Skip to content

Commit

Permalink
doc: clarify --no-track option
Browse files Browse the repository at this point in the history
It is not really about ignoring the config option; it is
about turning off tracking, _even if_ the config option is
set.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Jeff King authored and Junio C Hamano committed Apr 13, 2009
1 parent f800b65 commit 70e9664
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Documentation/git-branch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ OPTIONS
start-point is either a local or remote branch.

--no-track::
Ignore the branch.autosetupmerge configuration variable.
Do not set up tracking configuration, even if the
branch.autosetupmerge configuration variable is true.

--contains <commit>::
Only list branches which contain the specified commit.
Expand Down
3 changes: 2 additions & 1 deletion Documentation/git-checkout.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ guessing results in an empty name, the guessing is aborted. You can
explicitly give a name with '-b' in such a case.

--no-track::
Ignore the branch.autosetupmerge configuration variable.
Do not set up tracking configuration, even if the
branch.autosetupmerge configuration variable is true.

-l::
Create the new branch's reflog. This activates recording of
Expand Down

0 comments on commit 70e9664

Please sign in to comment.