Skip to content

Instantly share code, notes, and snippets.

@sandyxu
Last active December 21, 2015 14:09
Show Gist options
  • Save sandyxu/6317227 to your computer and use it in GitHub Desktop.
Save sandyxu/6317227 to your computer and use it in GitHub Desktop.
gitconfig
[user]
name = sandyxu
email = jyosuper@gmail.com
[core]
quotepath = false
[color]
interactive = auto
diff = auto
status = auto
branch = auto
ui = true
editor = vim
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = false
[alias]
co = checkout
ci = commit
st = status
sh = stash
sa = stash apply
sp = stash pop
ap = add -p
br = branch
cp = checkout -p
cv = commit -v
dc = diff --cached
d = diff
pr = pull --rebase
ps = push
l = log --graph --pretty=format:'%C(yellow)%h%Creset %C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=short --all
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all
[hub]
protocol = https
[push]
default = simple
[branch]
#autosetuprebase = always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment