[user]
name = shanfeng
email = visionarywind@icloud.com
[color]
ui = true
[core]
autocrlf = input
excludesfile = xxx/.gitignore
safecrlf = warn
[alias]
gb = reset --hard HEAD~
sh = show
po = push origin
st = status
co = checkout
ci = commit
br = branch
df = diff
dfh = diff HEAD
unstage = reset HEAD
resethead = reset --hard HEAD
mg = merge
md = commit --amend
cf = config
cl = clone
line = log --oneline
hist = log --pretty=format:"%C(yellow)%h %C(red)%d %C(reset)%s %C(green)[%an] %C(blue)%ad" --topo-order --graph --date=short
up = rebase
cp = cherry-pick
pl = pull --rebase
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
sync = "!git branch --merged | grep -v '\*\|master\|develop' | xargs -n 1 -r git branch -d"
[http]
proxy = xxx:xxx-xxx@proxy.xxx.com:8080
sslverify = false
[https]
proxy = xxx:xxx-xxx@proxy.xxx.com:8080
[push]
default = current
[credential]
helper = store
[branch]
autosetupmerge = always
网友评论