Skip to content

Instantly share code, notes, and snippets.

@miguelgonz
Created March 2, 2015 11:33
Show Gist options
  • Save miguelgonz/b56858e77c8c3cfee0a1 to your computer and use it in GitHub Desktop.
Save miguelgonz/b56858e77c8c3cfee0a1 to your computer and use it in GitHub Desktop.
.gitconfig
[core]
excludesfile = /Users/gonzlm01/.gitignore_global
editor = /usr/bin/vim
[alias]
b = branch
ba = branch -a
d = diff
ci = commit
co = checkout
st = status
pu = pull
fixup = commit --amend -C HEAD
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red
new = cyan
[color "status"]
added = yellow
changed = green
untracked = cyan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment