Skip to content

Instantly share code, notes, and snippets.

@haswalt
Created February 4, 2013 18:00
Show Gist options
  • Save haswalt/4708353 to your computer and use it in GitHub Desktop.
Save haswalt/4708353 to your computer and use it in GitHub Desktop.
My global git config
[user]
name = Harry Walter
email = ***********
[branch "master"]
remote = origin
merge = refs/heads/master
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[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
[core]
editor = vim
pager = less -FRSX
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
ignorecase = true
excludesfile = ~/.gitignore
sslverify = false
[alias]
co = checkout
st = status
unstage = reset HEAD
lg = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"
[apply]
whitespace = fix
[mergetool]
keepBackup = true
[push]
default = current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment