2019-10-10 21:13:43 +02:00
|
|
|
[user]
|
2020-07-17 15:33:43 +02:00
|
|
|
email = bruno@belanyi.fr
|
2020-02-01 15:09:08 +01:00
|
|
|
name = Bruno BELANYI
|
2019-10-10 21:13:43 +02:00
|
|
|
|
|
|
|
[blame]
|
2020-02-01 15:09:08 +01:00
|
|
|
coloring = repeatedLines
|
|
|
|
markUnblamables = true
|
|
|
|
markIgnoredLines = true
|
2019-10-10 21:13:43 +02:00
|
|
|
|
|
|
|
[branch]
|
2020-02-01 15:09:08 +01:00
|
|
|
autosetubrebase = always
|
2019-10-10 21:13:43 +02:00
|
|
|
|
2019-07-11 13:54:59 +02:00
|
|
|
[color]
|
2020-02-01 15:09:08 +01:00
|
|
|
ui = auto
|
|
|
|
branch = auto
|
|
|
|
diff = auto
|
|
|
|
interactive = auto
|
|
|
|
status = auto
|
2019-10-10 21:13:43 +02:00
|
|
|
|
2019-10-10 21:07:15 +02:00
|
|
|
[color "diff"]
|
2020-02-01 15:09:08 +01:00
|
|
|
commit = yellow
|
|
|
|
meta = yellow
|
|
|
|
frag = cyan
|
|
|
|
old = red
|
|
|
|
new = green
|
|
|
|
whitespace = red reverse
|
2019-10-10 21:13:43 +02:00
|
|
|
|
2019-10-10 21:07:15 +02:00
|
|
|
[color "diff-highlight"]
|
2020-02-01 15:09:08 +01:00
|
|
|
oldNormal = red bold
|
|
|
|
oldHighlight = red bold 52
|
|
|
|
newNormal = green bold
|
|
|
|
newhighlight = green bold 22
|
2019-10-10 21:07:15 +02:00
|
|
|
|
2019-10-10 21:13:43 +02:00
|
|
|
[commit]
|
2020-02-01 15:09:08 +01:00
|
|
|
verbose = true
|
2019-10-10 21:13:43 +02:00
|
|
|
|
|
|
|
[diff]
|
2020-02-01 15:09:08 +01:00
|
|
|
algorithm = patience
|
2019-10-10 21:13:43 +02:00
|
|
|
|
2019-10-13 13:41:19 +02:00
|
|
|
[merge]
|
2020-02-01 15:09:08 +01:00
|
|
|
tool = fugitive
|
2019-10-13 13:41:19 +02:00
|
|
|
|
|
|
|
[mergetool "fugitive"]
|
2020-02-01 15:09:08 +01:00
|
|
|
cmd = vim -f -c \"Gdiff!\" \"$MERGED\"
|
|
|
|
trustExitCode = true
|
2019-10-13 13:41:19 +02:00
|
|
|
|
2019-10-10 21:13:43 +02:00
|
|
|
[pager]
|
2020-02-01 15:09:08 +01:00
|
|
|
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
|
2019-10-10 21:13:43 +02:00
|
|
|
|
|
|
|
[pull]
|
2020-02-01 15:09:08 +01:00
|
|
|
rebase = true
|
2019-10-10 21:13:43 +02:00
|
|
|
|
|
|
|
[push]
|
2020-02-01 15:09:08 +01:00
|
|
|
default = simple
|
2019-10-10 21:13:43 +02:00
|
|
|
|
|
|
|
[rebase]
|
2020-02-01 15:09:08 +01:00
|
|
|
autoSquash = true
|
|
|
|
autoStash = true
|
2019-07-13 00:55:04 +02:00
|
|
|
|
|
|
|
[alias]
|
2020-02-01 15:09:08 +01:00
|
|
|
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
|
|
|
|
m4 = mergetool -t vimdiff
|
|
|
|
assume = update-index --assume-unchanged
|
|
|
|
unassume = update-index --no-assume-unchanged
|
|
|
|
assumed = "!git ls-files -v | grep ^h | cut -c 3-"
|
2020-02-12 14:38:50 +01:00
|
|
|
push-new = "!git push -u \"${1:-origin}\" \"$(git branch | grep '^* ' | cut -f2- -d' ')\""
|
2020-07-15 18:09:46 +02:00
|
|
|
fixup = "!f() { git add -- \"$1\"; git commit --fixup \"$(git log --pretty=format:%H:%s -- \"$1\" | awk -F ':' '!/fixup!/ {print $1; exit}')\"; }; f"
|
2019-10-02 13:50:41 +02:00
|
|
|
|
|
|
|
[filter "lfs"]
|
2020-02-01 15:09:08 +01:00
|
|
|
clean = git-lfs clean -- %f
|
|
|
|
smudge = git-lfs smudge -- %f
|
|
|
|
process = git-lfs filter-process
|
|
|
|
required = true
|
2020-06-01 17:36:18 +02:00
|
|
|
|
|
|
|
; Use my EPITA identity for repositories that should use it
|
|
|
|
[includeIf "gitdir:~/git/EPITA/"]
|
|
|
|
path = ~/.config/git/config-epita
|