Clean up + add aliases to gitconfig

This commit is contained in:
Henrik Lissner 2014-09-20 16:40:27 -04:00
parent 2965548549
commit ac88bcc7ab

View file

@ -3,37 +3,24 @@
email = henrik@lissner.net
[github]
user = hlissner
[core]
excludesfile = ~/.gitignore
quotepath = false
whitespace = trailing-space
excludesfile = ~/.gitignore
whitespace = trailing-space
[color]
ui = auto
ui = true
[diff]
tool = gvimdiff
tool = vimdiff
[difftool]
prompt = false
prompt = false
[merge]
# Include summaries of merged commits in newly created merge commit messages
log = true
# Include summaries of merged commits in newly created merge commit messages
log = true
[push]
default = matching
[url "ssh://git@github.com"]
insteadOf = "gh:"
[url "ssh://git@github.com/hlissner"]
insteadOf = "gh:~"
[url "ssh://git@bitbucket.org"]
insteadOf = "bb:"
[url "ssh://git@bitbucket.org/hlissner"]
insteadOf = "bb:~"
default = simple
[credential]
helper = osxkeychain
helper = osxkeychain
[alias]
undo-commit = reset --soft "HEAD^"
amend = commit --amend
ls = ls-files
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --