Git Color记录

来源:互联网 发布:莱昂纳德数据 编辑:程序博客网 时间:2024/06/01 09:17

gedit .git/config,将如下内容添加到下面即可


[user]

        name = ***
        email = ***@***.***
[core]
        editor = vim
[color]
        status = auto
        branch = auto
        diff = auto
        ui = true
        pager = true
[color "branch"]
        current = yellow reverse
        local = yellow
        remote = green
[color "diff"]
        meta = yellow bold
        frag = magenta bold
        old = red bold
        new = green bold
[color "status"]
        added = yellow
        changed = green
        untracked = cyan

原创粉丝点击