.gitconfig

[user]
    name = user_name
    email = user_name@server_host
[credential]
    helper = store
[alias]
    br = branch -l
    cd = checkout
    co = checkout
    cb = checkout -b
    undo = reset HEAD --
    last = log -1 HEAD
    lg = log --color --graph --decorate
    ss = status -s
    st = status
    td = difftool --extcmd="~/bin/tkdiff" -y
    dl = diff --name-only
    cp = cherry-pick
    scf = show --name-only
    sc = show
[color]
    ui = true
    status = auto
    diff = auto
    branch = auto
    interactive = auto
文章目录