git id
author |
Steve Losh <steve@stevelosh.com> |
date |
Tue, 17 Jan 2012 14:25:35 -0500 |
parents |
029fa7773f34 |
children |
5acdb884ff93 |
[user]
name = Steve Losh
email = steve@stevelosh.com
[core]
pager = cat
editor = vim
excludesfile = /Users/sjl/.gitignore
[alias]
gl = log -16 --color=always --all --graph --topo-order --pretty='format: %Cgreen%h%Creset %s%Cred%d%Creset%n'
gll = log --color=always --all --graph --topo-order --pretty='format: %Cgreen%h%Creset %s%Cred%d%Creset%n'
pull = pull --ff-only
merge = merge --no-ff
up = merge --ff-only
ci = commit
cm = commit -m
co = checkout
id = rev-parse
stat = status
st = status
unstage = reset HEAD
uns = reset HEAD
currentbranch = !git branch --contains HEAD | tr -s ' ' | cut -d ' ' -f2
fo = fetch origin
fu = fetch upstream
po = push origin
lo = pull origin
mo = !git merge --no-ff origin/`git currentbranch`
uo = !git merge --ff-only origin/`git currentbranch`
[push]
default = current
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[difftool "Kaleidoscope"]
cmd = ksdiff-wrapper git \"$LOCAL\" \"$REMOTE\"
[difftool]
prompt = false
[diff]
tool = Kaleidoscope
[merge]
tool = threesome
[mergetool "threesome"]
cmd = "mvim -f $BASE $LOCAL $REMOTE $MERGED -c 'ThreesomeInit'"
trustExitCode = true
[web]
browser = open