开发者

Coloured output with git in cmd

开发者 https://www.devze.com 2023-01-18 05:54 出处:网络
Is there a way to get coloured output with git in cmd? If yes开发者_如何转开发, how? Platform: XP SP3.Caveat: tested in Ubuntu. Should work in Windows but not tested.

Is there a way to get coloured output with git in cmd? If yes开发者_如何转开发, how?

Platform: XP SP3.


Caveat: tested in Ubuntu. Should work in Windows but not tested.

From the "customizing git" section of the Git book:

See all color.* options in the git config docs

$ git config color.branch auto
$ git config color.diff auto
$ git config color.interactive auto
$ git config color.status auto

Or, you can set all of them on with the color.ui option:

$ git config color.ui true
0

精彩评论

暂无评论...
验证码 换一张
取 消