Skip to content

Instantly share code, notes, and snippets.

@aanton
Created February 16, 2016 10:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aanton/b6d45a785f20d0eddf05 to your computer and use it in GitHub Desktop.
Save aanton/b6d45a785f20d0eddf05 to your computer and use it in GitHub Desktop.
My .gitconfig
[core]
editor = vim
pager = less -r
[alias]
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --all --date=iso
local = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=iso
[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
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[push]
default = nothing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment