public
Last active

This is a good place to start when setting up git

  • Download Gist
.gitconfig
INI
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
[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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.