[alias]
st = status
ci = commit
br = branch
co = checkout
dfa = !git diff $1 && git rev-parse --abbrev-ref --symbolic-full-name @{u}
df = diff
df1 = diff HEAD HEAD^
df2 = diff HEAD^ HEAD^^
cp=cherry-pick
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
网友评论