Clean up + add aliases to gitconfig
This commit is contained in:
parent
2965548549
commit
ac88bcc7ab
41
gitconfig
41
gitconfig
|
@ -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 --
|
||||
|
|
Loading…
Reference in a new issue