Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
54 lines (53 sloc) 1.14 KB
[user]
name = Hanfei Shen
email = qqshfox@gmail.com
signingkey = B0D2588A
[alias]
st = status
a = add
ci = commit
co = checkout
cob = checkout -b
cot = checkout -t
br = branch
brd = branch -d
brD = branch -D
brm = branch -m
di = diff
dic = diff --cached
l = log --decorate
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
ls = log --stat
lp = log --patch
gr = grep -nH
mg = merge
nff = merge --no-ff
mt = mergetool --no-prompt
pl = pull --rebase
pu = push
puf = push -f
sbr = show-branch
sth = stash
stp = stash pop
stl = stash list
stc = stash clear
desc = describe
wc = whatchanged
lgg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
[color]
ui = auto
[core]
excludesfile = ~/.gitignore
editor = vim
quotepath = false
pager = diff-so-fancy | less --tabs=4 -RFX
[merge]
tool = splice
defaultToUpstream = true
[mergetool "splice"]
cmd = "vim $BASE $LOCAL $REMOTE $MERGED -c 'SpliceInit'"
trustExitCode = true
[diff]
algorithm = patience
[push]
default = simple