Skip to content

Instantly share code, notes, and snippets.

@mtougeron
Created May 27, 2014 22:07
Show Gist options
  • Save mtougeron/393a8cc7eb340e10e48f to your computer and use it in GitHub Desktop.
Save mtougeron/393a8cc7eb340e10e48f to your computer and use it in GitHub Desktop.
example ~/.gitconfig
[hub]
protocol = https
[core]
autocrlf = input
editor = vim
[alias]
up = pull
co = checkout
[color]
branch = true
ui = true
grep = true
diff = true
showbranch = true
status = true
[color "status"]
header = normal dim
added = yellow
untracked = magenta
[color "branch"]
current = yellow reverse
local = yellow
remote = red
[user]
name = My Name
email = My Email
[log]
date = relative
abbrevCommit = true
[format]
pretty = format:%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment