dotfiles/gitconfig

48 lines
1.1 KiB
Plaintext
Raw Normal View History

[include]
path = ~/.gitconfig.platform
path = ~/.gitconfig.private
2013-04-21 23:36:08 +00:00
[merge]
summary = true
2013-05-08 02:34:57 +00:00
tool = vimdiff
[core]
2016-10-23 16:44:54 +00:00
excludesfile = ~/.gitignore
hookspath = ~/.git_hooks
2019-12-31 05:38:46 +00:00
preloadindex = true
fscache = true
2013-05-08 02:34:57 +00:00
[push]
2015-10-16 05:09:39 +00:00
default = upstream
2013-05-08 02:34:57 +00:00
[diff]
2015-10-16 05:09:39 +00:00
algorithm = patience
2012-04-19 14:23:13 +00:00
[color]
2013-04-21 23:36:08 +00:00
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = blue
frag = magenta
old = red
new = green
2015-10-16 05:09:39 +00:00
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
2015-10-16 05:09:39 +00:00
required = true
process = git-lfs filter-process
2015-10-16 05:09:39 +00:00
[alias]
# Note: I'm using %ad in the pretty log to see the author's timestamp, as
# opposed to %cr which is the commiter's timestamp. I prefer the former
# because I sometimes edit an earlier commit message while rebasing and I
# want to continue to see the original date.
lg = log --graph --pretty=format:'%Cred%h%Creset %C(yellow)%an [%cn]%d%Creset %s %Cgreen(%ad)%Creset' --date=relative
2019-12-31 05:38:46 +00:00
start = !git init && git commit --allow-empty -m \"Initial commit\"
2015-10-16 05:09:39 +00:00
[rerere]
enabled = true
2019-12-31 05:38:46 +00:00
[gc]
auto = 0