提交 3c06ab69 编写于 作者: J Junio C Hamano

Merge branch 'jc/advice-doc' into maint

* jc/advice-doc:
  advice: Document that they all default to true
...@@ -115,35 +115,32 @@ in the appropriate manual page. You will find a description of non-core ...@@ -115,35 +115,32 @@ in the appropriate manual page. You will find a description of non-core
porcelain configuration variables in the respective porcelain documentation. porcelain configuration variables in the respective porcelain documentation.
advice.*:: advice.*::
When set to 'true', display the given optional help message. These variables control various optional help messages designed to
When set to 'false', do not display. The configuration variables aid new users. All 'advice.*' variables default to 'true', and you
are: can tell Git that you do not need help by setting these to 'false':
+ +
-- --
pushNonFastForward:: pushNonFastForward::
Advice shown when linkgit:git-push[1] refuses Advice shown when linkgit:git-push[1] refuses
non-fast-forward refs. Default: true. non-fast-forward refs.
statusHints:: statusHints::
Directions on how to stage/unstage/add shown in the Directions on how to stage/unstage/add shown in the
output of linkgit:git-status[1] and the template shown output of linkgit:git-status[1] and the template shown
when writing commit messages. Default: true. when writing commit messages.
commitBeforeMerge:: commitBeforeMerge::
Advice shown when linkgit:git-merge[1] refuses to Advice shown when linkgit:git-merge[1] refuses to
merge to avoid overwriting local changes. merge to avoid overwriting local changes.
Default: true.
resolveConflict:: resolveConflict::
Advices shown by various commands when conflicts Advices shown by various commands when conflicts
prevent the operation from being performed. prevent the operation from being performed.
Default: true.
implicitIdentity:: implicitIdentity::
Advice on how to set your identity configuration when Advice on how to set your identity configuration when
your information is guessed from the system username and your information is guessed from the system username and
domain name. Default: true. domain name.
detachedHead:: detachedHead::
Advice shown when you used linkgit::git-checkout[1] to Advice shown when you used linkgit:git-checkout[1] to
move to the detach HEAD state, to instruct how to create move to the detach HEAD state, to instruct how to create
a local branch after the fact. Default: true. a local branch after the fact.
-- --
core.fileMode:: core.fileMode::
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册