Skip to content

Instantly share code, notes, and snippets.

@jherdman
Created January 6, 2015 19:09
Show Gist options
  • Save jherdman/26940ea34033d196e0d6 to your computer and use it in GitHub Desktop.
Save jherdman/26940ea34033d196e0d6 to your computer and use it in GitHub Desktop.
# Don't forget to manually enter GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL
# in your .zshrc file.
[alias]
co = checkout
pr = pull --rebase --prune
ci = commit -v
rollback = reset --soft HEAD^
st = status -sb
br = branch
unstage = reset HEAD
[merge]
tool = opendiff
[mirror]
summary = true
[core]
autocrl = true
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = /Users/james/.gitignore
editor = /usr/bin/vim
trustctime = false
[difftool]
prompt = false
[push]
default = simple
[status]
submodulesummary = true
[user]
name = James Herdman
email = [email protected]
[credential]
helper = osxkeychain
[grep]
lineNumber = true
extendRegexp = true
[color]
ui = auto
[filter "media"]
clean = git media clean %f
smudge = git media smudge %f
required = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment