Skip to content

Instantly share code, notes, and snippets.

@klimaye
Created December 18, 2014 15:34
Show Gist options
  • Save klimaye/462f41671d935f1316d8 to your computer and use it in GitHub Desktop.
Save klimaye/462f41671d935f1316d8 to your computer and use it in GitHub Desktop.
my .gitconfig
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
age = for-each-ref --sort='-authordate:iso8601' --format=' %(authordate:iso8601)%09%(refname)' refs/heads
[merge]
tool = opendiff
[mergetool "diff3"]
cmd = diff3
trustExitCode = true
[mergetool "kdiff3"]
path = /Applications/kdifd2.app
[core]
editor = /usr/bin/vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment