Color in git-log

前端 未结 5 1392
灰色年华
灰色年华 2020-12-02 08:01

When you run git log --decorate --pretty=oneline the output will have entries like (HEAD, refs/published/master, master) with coloration.

I

5条回答
  •  失恋的感觉
    2020-12-02 08:19

    Parenthesize them:

    %C(...): color specification, as described in color.branch.* config option

    So %C(yellow reverse) would work.

提交回复
热议问题