工具集

http://blog.xiayf.cn/pages/tools.html

ssh

.ssh/config
Host bob
    HostName bob.example.com
    Port 2222
    User wdaher

vim 粘贴

set nopaste
set pastetoggle=<F12>

git 配置

[color]
    diff = auto
    status = true
    branch = auto
    interactive = auto
    ui = auto
    log = true

[alias]
    co = checkout
    ci = commit
    st = status
    pl = pull
    ps = push
    dt = difftool
    ls = log --stat
    cp = cherry-pick
    ca = commit -a
    br = branch

添加新评论