-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
45 lines (45 loc) · 1.08 KB
/
.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[alias]
tree = log --graph --all
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ;}; gi"
f = "!git ls-files -m -o --exclude-standard | fzf --print0 -m | xargs -0 -t -o git add"
[format]
pretty = "format:%C(red)%h%C(reset) - %s %C(blue)(%cr)%Creset %C(green)%an%C(reset) %C(yellow)%d%C(reset)"
[core]
autocrlf = false
safecrlf = true
preloadindex = true
excludesfile = /Users/mathieu/.gitignore_global
editor = nvim
[gc]
auto = 256
[user]
name = Mathieu
email = [email protected]
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[mergetool]
prompt = false
keepBackup = false
[merge]
tool = vim_mergetool
conflictstyle = diff3
[mergetool "vim_mergetool"]
cmd = vim -f -c "MergetoolStart" "$MERGED" "$BASE" "$LOCAL" "$REMOTE"
trustExitCode = true
[diff]
tool = vimdiff
[rerere]
enabled = true
[push]
default = current
[apply]
whitespace = fix
[url "ssh://[email protected]/"]
insteadOf = https://github.com/
[init]
defaultBranch = main
[branch]
autosetuprebase = always