Skip to content

Instantly share code, notes, and snippets.

@HeGanjie
Last active Apr 19, 2016
Embed
What would you like to do?
[user]
email = heganjie@gmail.com
name = heganjie
[gui]
encoding = utf-8
[branch]
autosetupmerge = always
[alias]
aa = add -A
st = status
sts = status -s
ci = commit -v
co = checkout
br = branch -v
last = log -2 HEAD
update = pull -v
pu = push --tags
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
ld = log --pretty=format:"%C(yellow)%h\\ %C(green)%ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short --graph
ls = log --pretty=format:"%C(green)%h\\ %C(yellow)[%ad]%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
tj = shortlog -sn --no-merges
[push]
default = simple
[http]
#proxy = http://127.0.0.1:5284
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment