[user]
  name = David Tomaschik
  email = david@systemoverlord.com
  signingKey = 0x5DEA789B

[core]
  excludesfile = ~/.gitignore
  editor = vim
  whitespace = trailing-space,space-before-tab

[color]
  diff = auto
  status = auto

[diff]
  tool = vimdiff

[difftool]
  prompt = false

[alias]
  st = status
  last = log -1 HEAD
  # Thanks to
  # http://durdn.com/blog/2012/11/22/must-have-git-aliases-advanced-examples/
  ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
  ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
  files = ls-files
  f = "!git ls-files | grep -i"
  logtree = log --graph --oneline --decorate --all

[push]
  default = current

[web]
  browser = chrome

[github]
  user = matir

# Site specific config
[url "https://github.com./"]
  insteadOf = "github:"
  insteadOf = "github://"

[url "ssh://git@github.com/"]
  pushInsteadOf = "github:"
  pushInsteadOf = "github://"

[url "git://gist.github.com/"]
	insteadOf = "gist:"

[url "git@gist.github.com:"]
	pushInsteadOf = "gist:"
	pushInsteadOf = "git://gist.github.com/"

[credential]
	helper = cache --timeout=36000
[receive]
	denyCurrentBranch = updateInstead
[merge]
	tool = vimdiff
	conflictstyle = diff3
[mergetool]
	prompt = false
