Skip to content

Instantly share code, notes, and snippets.

@joec4i
Last active August 29, 2015 14:09
Show Gist options
  • Save joec4i/757f0b5794af4d49fc0e to your computer and use it in GitHub Desktop.
Save joec4i/757f0b5794af4d49fc0e to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = User Name
email = username@example.com
[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
[color "status"]
added = yellow
changed = green
untracked = cyan
[push]
default = matching
[alias]
ci = commit
co = checkout
df = diff
lg = log -p
who = shortlog -s --
cp = cherry-pick
lc = log ORIG_HEAD.. --stat --no-merges
graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format: %h -> { %p }' \"$@\" | sed 's/[0-9a-f][0-9a-f]*/\"&\"/g' ; echo '}'; }; f"
[log]
date=local
[core]
quotepath = false
[http]
sslVerify = false
[credential]
helper = store
[merge]
tool = vimdiff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment