Skip to content

Instantly share code, notes, and snippets.

@karbassi
Created March 21, 2010 03:41
Show Gist options
  • Save karbassi/339062 to your computer and use it in GitHub Desktop.
Save karbassi/339062 to your computer and use it in GitHub Desktop.
[user]
name = Your Name
email = your@email.com
[color]
status = auto
branch = auto
diff = auto
ui = 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
[merge]
tool = opendiff
[mergetool "opendiff"]
cmd = "/usr/bin/opendiff $LOCAL $BASE -merge $MERGED"
[core]
excludesfile = ~/.gitignore
compression = 9
[alias]
s = stash
sa = stash apply
sl = stash list
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr by %cn)%Creset' --abbrev-commit --date=relative
lgs = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr by %cn)%Creset' --abbrev-commit --date=relative --shortstat
[branch]
autosetupmerge = true
[instaweb]
httpd=webrick
port=1234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment