Skip to content

Instantly share code, notes, and snippets.

@HeGanjie
Last active April 19, 2016 08:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HeGanjie/04fb09218e1e2899318a to your computer and use it in GitHub Desktop.
Save HeGanjie/04fb09218e1e2899318a to your computer and use it in GitHub Desktop.
[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