Skip to content

Instantly share code, notes, and snippets.

@assaf
Created March 8, 2012 19:40
Show Gist options
  • Select an option

  • Save assaf/2002917 to your computer and use it in GitHub Desktop.

Select an option

Save assaf/2002917 to your computer and use it in GitHub Desktop.
.gitconfig
[color]
branch = auto
diff = auto
status = auto
sh = 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
[core]
excludesfile = ~/.gitignore
pager = less -SFRKXE
editor = "/usr/local/bin/vim -f"
#editor = "open --new --wait-apps -a MacVim"
quotepath = false
[alias]
co = checkout
st = status -sb
ci = commit --verbose
amend = commit --verbose --amend -C HEAD
br = branch
df = diff
wd = diff --word-diff
top = !eval cd "$(pwd)/$(git rev-parse --show-cdup)" && pwd
pick = cherry-pick
oneline = log --oneline --decorate
aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /'
cleanup = remote prune origin ; git prune ; git gc
continue = rebase --continue
ll = log --stat --abbrev-commit
[user]
name = Assaf Arkin
email = assaf@labnotes.org
[github]
user = assaf
token = 91ceb1c91d7eed1f5f03399ac3f437fc
[push]
default = current
[branch "master"]
remote = origin
merge = refs/heads/master
rebase = true
[branch]
autosetuprebase = always
[rerere]
enabled = 1
[diff]
noprefix = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment