Skip to content

Instantly share code, notes, and snippets.

@unphased
Last active December 15, 2015 18:29
Show Gist options
  • Save unphased/5303697 to your computer and use it in GitHub Desktop.
Save unphased/5303697 to your computer and use it in GitHub Desktop.
This is a good place to start when setting up git
[user]
name = Steven Lu
email = stevenlu443@gmail.com
[core]
editor = vim
whitespace = cr-at-eol
excludesfile = /Users/lust/.gitignore
[color]
ui = true
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
[pager]
log = diff-highlight | less
show = diff-highlight | less
diff = diff-highlight | less
[color]
branch = auto
diff = always
status = always
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = blue
frag = magenta
old = red
new = green
whitespace = blue reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[diff]
tool = pydiff
[difftool "pydiff"]
cmd = pydifftool.sh $REMOTE $LOCAL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment