Skip to content

Instantly share code, notes, and snippets.

@rn404
Created February 28, 2014 09:51
Show Gist options
  • Save rn404/9268285 to your computer and use it in GitHub Desktop.
Save rn404/9268285 to your computer and use it in GitHub Desktop.
gitconfig
[color]
ui = true
branch = auto
diff = auto
interactive = auto
status = auto
[alias]
co = checkout
st = status
ci = commit
di = diff
br = branch
type = cat-file -t
dump = cat-file -p
hist = log --pretty format:\"%h %ad | %s%d [%an]\" --graph --date short
graph = log --graph --date-order -C -M --pretty=format:\"<%h> %ad %Cgreen%d%Creset %s\" --all --date=short
[core]
pager = pager = LESSCHARSET=utf-8 less -FRSX
editor = vim
[pager]
show = git-diff-highlight | nkf -w -x | less
log = git-diff-highlight | nkf -w -x | less
diff = git-diff-highlight | nkf -w -x | less
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment