Skip to content

Instantly share code, notes, and snippets.

@zegomesjf
Created June 19, 2013 11:47
Show Gist options
  • Save zegomesjf/5813681 to your computer and use it in GitHub Desktop.
Save zegomesjf/5813681 to your computer and use it in GitHub Desktop.
cat ~/.gitconfig
[user]
name = José Gomes Júnior
email = zegomesjf@gmail.com
[core]
excludesfile = ~/.gitignore
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[color "status"]
added = green
changed = yellow
untracked = red
[core]
pager = less -FRSX
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
editor = mvim -f
[alias]
ci = commit
co = checkout
st = status
dtc = difftool --cached
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
b = for-each-ref --sort=-committerdate refs/heads --format='%(committerdate:short) %(refname:short)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment