My current git push
output is as follows:
The error message is hardly visible. The above is despite the following setting:
[color "interactive"]
error = red bold
What should be the setting for error messages?
My current git push
output is as follows:
The error message is hardly visible. The above is despite the following setting:
[color "interactive"]
error = red bold
What should be the setting for error messages?
That seems to be a remote sideband output, which means you need:
git config color.remote.error "red bold"
git config color.remote always
That would color what the remote is producing.
But in your case, if the error message is not produced by the remote, then the color would be managed by color.interactive.<slot>
:
git config color.interactive.error "red bold"
(and an error "failed to push to remote...
" is likely to be produced by your local Git instance, not by a remote sideband output)
Or, as the OP comments: color.push.error
:
git config color.push.error "red bold"
In both cases, this is a local color setting, not a remote one.