dot-files/git/.gitconfig

60 lines
1.4 KiB
INI
Raw Normal View History

2019-07-11 13:54:59 +02:00
[core]
excludesfile = ~/.gitignore
2019-07-11 13:54:59 +02:00
[color]
ui = auto
branch = auto
diff = auto
interactive = auto
status = auto
2019-07-11 13:54:59 +02:00
[commit]
verbose = true
2019-07-11 13:54:59 +02:00
[pull]
rebase = true
2019-07-11 13:54:59 +02:00
[branch]
autosetubrebase = always
2019-07-11 13:54:59 +02:00
[push]
default = simple
2019-07-11 13:54:59 +02:00
[rebase]
autoSquash = true
autoStash = true
[blame]
coloring = repeatedLines
markUnblamables = true
markIgnoredLines = true
[diff]
algorithm = patience
[pager]
diff = /usr/share/git/diff-highlight/diff-highlight | less
log = /usr/share/git/diff-highlight/diff-highlight | less
show = /usr/share/git/diff-highlight/diff-highlight | less
[color "diff"]
commit = yellow
meta = yellow
frag = cyan
old = red
new = green
whitespace = red reverse
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newhighlight = green bold 22
2019-07-11 13:54:59 +02:00
[user]
email = bruno.belanyi@epita.fr
name = Bruno BELANYI
[alias]
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
trim = reflog expire --expire-unreachable=now --all
chop = gc --prune=now
optimize = repack -a -d -f --depth=250 --window=250
pf = pull --ff-only
2019-10-02 13:50:41 +02:00
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true