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 email = henrik@lissner.net
[github] [github]
user = hlissner user = hlissner
[core] [core]
excludesfile = ~/.gitignore excludesfile = ~/.gitignore
quotepath = false whitespace = trailing-space
whitespace = trailing-space
[color] [color]
ui = auto ui = true
[diff] [diff]
tool = gvimdiff tool = vimdiff
[difftool] [difftool]
prompt = false prompt = false
[merge] [merge]
# Include summaries of merged commits in newly created merge commit messages # Include summaries of merged commits in newly created merge commit messages
log = true log = true
[push] [push]
default = matching default = simple
[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:~"
[credential] [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 --