Skip to content

Instantly share code, notes, and snippets.

@jtimberman
Created June 30, 2014 16:58
Show Gist options
  • Save jtimberman/d60673c2385d48dd0a0f to your computer and use it in GitHub Desktop.
Save jtimberman/d60673c2385d48dd0a0f to your computer and use it in GitHub Desktop.
[user]
name = Joshua Timberman
email = [email protected]
[color]
ui = true
diff = true
status = true
branch = true
interactive = true
[core]
editor = $EDITOR
excludesfile = $HOME/.gitignore
whitespace = fix
trustctime = false
[format]
pretty = %C(bold yellow)%h%Creset %s %C(bold blue)[%an]%Creset %Cgreen(%cr)
[apply]
whitespace = fix
[help]
autocorrect = 5
[push]
default = tracking
[branch]
autosetuprebase = always
[credential]
helper = osxkeychain
[pull]
rebase = preserve
[alias]
up = !git pull origin master
pr = "!f() { git fetch origin pull/$1/head:pr-$1 && git checkout pr-$1 && git pull origin master; }; f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment