[push]
  default = simple
[color]
  ui = true
[diff]
  tool = vimdiff
[merge]
  tool = vimdiff
  conflictstyle = diff3
[core]
  editor = vim
  excludesfile = /home/pforty/.gitignore
  abbrev = 8
[user]
  name = p.forty
  email = petr@pforty.cz
[alias]
  a = add
  aa = add .
  b = branch
  ci = commit
  cm = commit -m
  co = checkout
  g = grep
  info = remote show origin
  s = status
  ss = status --short
  sw = switch
  unstage = reset HEAD
# repo
  u = pull
  p = push
# file changes
  d = diff
  dt = difftool
  dfilestatus = diff --name-status
  dfs = diff --name-status
  dfilesadded = diff --name-status --diff-filter=A
  dfa = diff --name-status --diff-filter=A
  dfilemoded = diff --name-status --diff-filter=M
  dfm = diff --name-status --diff-filter=M
  dfiledeleted = diff --name-status --diff-filter=D
  dfd = diff --name-status --diff-filter=D
# gerrit
  togerrit = push origin HEAD:refs/for/master
# log output
  l = log --oneline --decorate --all --graph
  tree = log --graph --abbrev-commit --pretty=format:'%C(yellow)%h%Creset -%C(red)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
  h = log --graph --abbrev-commit --decorate --all --format=format:'%C(yellow)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n''          %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
[difftool]
  prompt = false
[mergetool]
  prompt = false
[init]
	defaultBranch = master
