Skip to content

Instantly share code, notes, and snippets.

@bycpx
Created July 14, 2010 19:17
Show Gist options
  • Save bycpx/475887 to your computer and use it in GitHub Desktop.
Save bycpx/475887 to your computer and use it in GitHub Desktop.
Git config file.
[color]
ui = auto
[merge]
tool = opendiff
[log]
date = rfc
[advice]
statusHints = false
pushNonFastForward = false
[diff "utf16"]
textconv = "iconv -f utf-16 -t utf-8"
[alias]
st = status --short
br = branch -vv
lg = log --graph --pretty='%C(yellow)%h%Creset %s %C(cyan)%ar%Creset'
ff = merge --ff-only
wdiff = diff --word-diff=color
ab = !sh -c 'git rev-list --left-right --count HEAD..."$0"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment