Skip to content

Instantly share code, notes, and snippets.

@alloy-d
Last active December 21, 2015 12:59
Show Gist options
  • Save alloy-d/6309777 to your computer and use it in GitHub Desktop.
Save alloy-d/6309777 to your computer and use it in GitHub Desktop.
Git configuration
[user]
name = Adam Lloyd
email = [email protected]
[alias]
ci = commit
co = checkout
d = difftool
st = status --short
current = rev-parse --abbrev-ref HEAD
autocommit = !"git commit -m \"$(curl -s 'http://whatthecommit.com' | grep -A1 'id=\"content\"' | tail -n 1 | tr -d '<p>')\""
[color]
ui = auto
[core]
excludesfile = /Users/adam/.gitignore
[difftool "Kaleidoscope"]
cmd = ksdiff-wrapper git \"$LOCAL\" \"$REMOTE\"
[difftool]
prompt = false
[diff]
tool = Kaleidoscope
*.swp
.DS_Store
.netrwhist
.rvmrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment