Skip to content

Instantly share code, notes, and snippets.

@jnovinger
Created March 4, 2013 00:12
Show Gist options
  • Save jnovinger/5079014 to your computer and use it in GitHub Desktop.
Save jnovinger/5079014 to your computer and use it in GitHub Desktop.
[user]
name = <your name here>
email = <email here>
[core]
editor = gvim --nofork
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
fileMode = false
[merge]
tool = meld
[diff]
tool = meld
[alias]
graph = log --all --graph --decorate
last = cat-file commit HEAD
co = checkout
ci = commit
st = status
br = branch
h = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
[color]
ui = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment