Skip to content

Instantly share code, notes, and snippets.

@orta
Created February 21, 2012 18:48
Show Gist options
  • Save orta/1878091 to your computer and use it in GitHub Desktop.
Save orta/1878091 to your computer and use it in GitHub Desktop.
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[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
[core]
pager = less -FRSX
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = /Users/orta/.gitignore
quotepath = false
[alias]
co = checkout
d = difftool
m = merge
s = status -s
sync = push --all
l = log --graph --pretty=format':%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset'
unstage = reset HEAD
staged = diff --cached
unstaged = diff
current-branch = !git symbolic-ref -q HEAD | sed -e 's|^refs/heads/||'
ditch = !git reset --hard HEAD
[help]
autocorrect = 1
[status]
submodule = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment