Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
94 lines (93 sloc) 1.98 KB
[user]
name = Cam Thompson
email = cam@camthompson.com
[github]
user = camthompson
[core]
editor = vim -f
excludesfile = ~/.cvsignore
autocrlf = false
pager = less -FXRS
[color]
branch = auto
diff = auto
interactive = auto
status = auto
grep = auto
[init]
templatedir = ~/.gittemplate
[web]
browser = open
[credential]
helper = osxkeychain
[merge]
tool = fugitive
stat = true
[mergetool "fugitive"]
cmd = vim -f -c \"Gdiff\" \"$MERGED\"
[push]
default = tracking
[diff]
mnemonicprefix = true
renames = copies
compactionHeuristic = true
[advice]
statusHints = false
pushNonFastForward = false
[branch]
autosetupmerge = true
autosetuprebase = always
[alias]
a = add
au = add -u
aa = add --all
ap = add -p
b = branch
c = commit --verbose
ca = commit --verbose -a
caa = commit --verbose -a --amend -C HEAD
cam = commit --verbose -am
cm = commit --verbose -m
d = diff
dc = diff --cached
dh1 = diff HEAD~1
div = divergence
ds = diff --stat
dss = diff --shortstat
f = fetch
fa = fetch --all
g = grep
gn = goodness
gnc = goodness --cached
h = !git l -1
l = !. ~/.githelpers && pretty_git_log
la = !. ~/.githelpers && pretty_git_log --all
ls = ls-files
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
lp = log --graph --decorate --pretty=oneline --abbrev-commit --all -20
m = merge --no-ff
mff = merge --ff-only
o = checkout
ob = checkout -b
p = push
r = !git l -30
ra = !git r --all
rb = rebase
rc = rebase --continue
re = reset
rm = rm
rs = rebase --skip
rv = remote --verbose
sa = stash apply
sh = stash
sl = stash list
sm = submodule
u = pull
uncommit = reset HEAD^
up = !sh -c 'git pull --rebase --prune && git log --pretty=format:\"%Cred%ae %Creset- %C(yellow)%s %Creset(%ar)\" HEAD@{1}..'
wc = whatchanged -p --abbrev-commit --pretty=medium
[pull]
rebase = preserve
[grep]
extendRegexp = true