`

我的gitconfig配置

 
阅读更多

很多配置来源于前人,thanks for rex,chris,iceway 

 

[user]

        email = xxx@xxx.com

        name = Lu Chuan

[color]

    ui = true

    branch = auto

    diff = auto

    status = auto

[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

[alias]

    lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit

    st = status

    co = checkout

[core]

        filemode = false

0
2
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics