Skip to content

Instantly share code, notes, and snippets.

@mccutchen
Created June 4, 2015 15:59
Show Gist options
  • Select an option

  • Save mccutchen/5adb5eec8c003bb3b3cf to your computer and use it in GitHub Desktop.

Select an option

Save mccutchen/5adb5eec8c003bb3b3cf to your computer and use it in GitHub Desktop.
My current ~/.gitconfig
[user]
name = Will McCutchen
email = [email protected]
[alias]
br = branch
ci = commit
co = checkout
fb = "!git fetch origin && git rebase origin/master $@"
ignored = ls-files --others -i --exclude-standard
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an, %cr)%Creset' --abbrev-commit --date=relative --topo-order
log = log --topo-order --decorate
st = status -sb
up = fetch --all --prune
[core]
excludesfile = ~/.gitignore.global
quotepath = false
[push]
default = tracking
[branch]
autosetupmerge = true
autosetuprebase = remote
[color]
diff = auto
status = auto
branch = auto
interactive = 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
[fetch]
prune = true
[github]
user = mccutchen
[include]
path = .gitconfig.private
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment