Skip to content

Instantly share code, notes, and snippets.

@ajjames
Created June 19, 2012 17:50
Show Gist options
  • Save ajjames/2955531 to your computer and use it in GitHub Desktop.
Save ajjames/2955531 to your computer and use it in GitHub Desktop.
aj_gitconfig
[color]
ui = true
branch = auto
diff = auto
status = auto
interactive = auto
[color "branch"]
current = yellow bold
local = green bold
remote = red bold
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = green bold
changed = red bold
untracked = cyan bold
[alias]
graph = log --graph --all --format=format:'%C(bold)%h%C(reset) %C(bold green)(%cr)%C(reset) %C(bold white)%cn%C(reset) %C(white)%s%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
gg = !git graph
g = !git graph -n
loc = config --local
glo = config --global
peek = fetch -v --dry-run
change = !git --no-pager show -m --name-only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment