Xingchen Liao
Xingchen Liao

Reputation: 53

Git Status Error color.ui

When I was setting up my SourceTree I met an annoying problem that it kept reminding me the following error:

git status fatal: bad numeric config value 'purper' for 'color.ui': invalid unit

I'm a programming newbee and don't quite know how git works and how to solve this problem, can anyone give me a hand?

Upvotes: 0

Views: 4237

Answers (2)

devasghar
devasghar

Reputation: 61

This command should fix it $ git config --global color.ui false

Upvotes: 1

mipadi
mipadi

Reputation: 411340

color.ui does not understand the value "purper" (I suppose you mean "purple", but either way, it's not a valid value). The valid values are:

false or never if you prefer Git commands not to use color unless enabled explicitly with some other configuration or the --color option; always if you want all output not intended for machine consumption to use color, [or] true or auto (this is the default since Git 1.8.4) if you want such output to use color when written to the terminal.

Upvotes: 0

Related Questions