Skip to content

Instantly share code, notes, and snippets.

@reecefowell
Created January 23, 2013 06:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reecefowell/4602654 to your computer and use it in GitHub Desktop.
Save reecefowell/4602654 to your computer and use it in GitHub Desktop.
~/.gitconfig
[core]
excludesfile = /Users/reecefowell/Library/Application Support/TorusKnotSoftware/SourceTree/gitignore_default.txt
quotepath = false
ignorecase = false
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/Other/Developer/Version Management/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[user]
name = Reece Fowell
email = reece@codeconsortium.com
[github]
user = codeconsortium
token = something something something dark side
[color]
ui = true
[alias]
lg = log --oneline --graph --decorate
st = status -sb
ci = commit
ca = commit -am
br = branch
co = checkout
ds = diff --staged
re = diff --staged
con = rebase --continue
a = add .
ge = remote update
r = remote -v
pr = pull --rebase
ph = log --graph --pretty=pretty-history --abbrev-commit --date=relative
last = cat-file commit HEAD
pushnotes = !sh -c 'git push $1 refs/notes/*' -
fetchnotes = !sh -c 'git fetch $1 refs/notes/*:refs/notes/*' -
day = log --pretty=format:"-%s" @{1.days.ago}..
who = shortlog -sn
[pretty]
pretty-history = format:%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset
[push]
default = tracking
[achievement]
upload = true
[rerere]
enabled = 1
[help]
autocorrect = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment