Skip to content

Instantly share code, notes, and snippets.

@sekimura
Created November 17, 2011 00:41
Show Gist options
  • Save sekimura/1372014 to your computer and use it in GitHub Desktop.
Save sekimura/1372014 to your computer and use it in GitHub Desktop.
.gitconfig
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
hist = log --all --graph --pretty
tree = log --graph --pretty=oneline --abbrev-commit --decorate --color
up = pull --rebase
local = @{u}..HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment