config: document the settings to colorize push errors/hints
Let's make it easier for users to find out how to customize these colors. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Johannes Schindelin committed
Apr 21, 2018 at 12:10 UTC
79f62e7dd96ae0cf98b7eca1b763012d1a4db0bb
1 file changed
+28
Documentation/config.txt
+28
@@ -1088,6 +1088,16 @@ clean.requireForce::
1088
A boolean to make git-clean do nothing unless given -f,
1089
-i or -n. Defaults to true.
1090
1091
+color.advice::
1092
+ A boolean to enable/disable color in hints (e.g. when a push
1093
+ failed, see `advice.*` for a list). May be set to `always`,
1094
+ `false` (or `never`) or `auto` (or `true`), in which case colors
1095
+ are used only when the error output goes to a terminal. If
1096
+ unset, then the value of `color.ui` is used (`auto` by default).
1097
+
1098
+color.advice.hint::
1099
+ Use customized color for hints.
1100
+
1101
color.branch::
1102
A boolean to enable/disable color in the output of
1103
linkgit:git-branch[1]. May be set to `always`,
@@ -1190,6 +1200,15 @@ color.pager::
1200
A boolean to enable/disable colored output when the pager is in
1201
use (default is true).
1202
1203
+color.push::
1204
+ A boolean to enable/disable color in push errors. May be set to
1205
+ `always`, `false` (or `never`) or `auto` (or `true`), in which
1206
+ case colors are used only when the error output goes to a terminal.
1207
+ If unset, then the value of `color.ui` is used (`auto` by default).
1208
+
1209
+color.push.error::
1210
+ Use customized color for push errors.
1211
+
1212
color.showBranch::
1213
A boolean to enable/disable color in the output of
1214
linkgit:git-show-branch[1]. May be set to `always`,
@@ -1218,6 +1237,15 @@ color.status.<slot>::
1237
status short-format), or
1238
`unmerged` (files which have unmerged changes).
1239
1240
+color.transport::
1241
+ A boolean to enable/disable color when pushes are rejected. May be
1242
+ set to `always`, `false` (or `never`) or `auto` (or `true`), in which
1243
+ case colors are used only when the error output goes to a terminal.
1244
+ If unset, then the value of `color.ui` is used (`auto` by default).
1245
+
1246
+color.transport.rejected::
1247
+ Use customized color when a push was rejected.
1248
+
1249
color.ui::
1250
This variable determines the default value for variables such
1251
as `color.diff` and `color.grep` that control the use of color