我的gitconfig配置

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

 

[user]

        email = [email protected]

        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

猜你喜欢

转载自luchuan.iteye.com/blog/2243855