Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (52 sloc) 1.18 KB
[user]
name = John W. Long
email = me@johnwlong.com
[core]
editor = vim --nofork
legacyheaders = false
excludesfile = /Users/jlong/.gitignore
[push]
default = tracking
[pull]
rebase = true
[merge]
summary = true
tool = opendiff
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[repack]
usedeltabaseoffset = true
[apply]
whitespace = nowarn
[github]
user = jlong
[svn]
authorsfile = /Users/jlong/.gitusers
[color]
ui = auto
status = auto
diff = auto
branch = auto
[alias]
aa = !git add -u && git add . && git status
st = status
br = branch
ci = commit
cia = commit -a
co = checkout
df = diff
lg = log
up = pull
vim = "!f() { git st -s | awk '{ print $2 }' | xargs vi -p; }; f"
changelog = log --no-merges --date=short --pretty=format:'%Cgreen%cd%Creset %Cred%h%Creset -%C(yellow)%d%Creset %cN: %s'
mine = log --author=john
delete = "!f() { git branch -d $1 && git push origin :$1; }; f"
ls = !ls -G
push-upstream = "!f() { branch=$(git st | head -1 | awk '{ print $3 }'); git push --set-upstream origin $branch; }; f"
cls = !clear
clear = !clear
hub = !hub
pull-request = !hub pull-request
git = !git