git 常用命令简写

cd切换到根目录

[alias]
    st = status
    ci = commit
    br = branch
    co = checkout
    df = diff
    last = log -1
    lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
    lg2 = log -n 200 --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
    ps = push
    pl = pull
    cp = cherry-pick

git 常用命令简写git 常用命令简写git 常用命令简写