Created
February 26, 2009 05:03
-
-
Save indirect/70668 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[core] | |
legacyheaders = false | |
excludesfile = /Users/<username>/.gitexclude | |
[repack] | |
usedeltabaseoffset = true | |
[color] | |
branch = auto | |
diff = auto | |
status = auto | |
[alias] | |
auto-strip = !curl -s "http://github.com/wesabe/git-tools/tree/master%2Fbin%2Fpre-commit?raw=true" > .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit | |
age = !echo "First commit:" && git log --reverse --pretty=format:'\t\t%ar' | head -n 1 && echo 'Last commit:' && git log --pretty=format:'\t\t%ar' | head -n 1 | |
st = status | |
co = checkout | |
sr = svn rebase | |
sdc = svn dcommit | |
uncommit = reset --soft HEAD^ | |
compact = gc --prune --aggressive | |
head = diff HEAD^ HEAD | |
expire = reflog expire --expire=30.days refs/stash | |
ci = commit | |
cia = commit --amend | |
hunk = add -p | |
nuke = reset --hard HEAD | |
info = remote show origin | |
sh = !git-sh | |
ignored = "!git ls-files --others --exclude-standard" | |
pending = "!git --no-pager log --pretty=format:'%Cblue%ar%Creset\t%s' origin/master..master && echo" | |
track = !grb track | |
[merge] | |
tool = opendiff | |
[branch] | |
autosetupmerge = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment