-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.gitconfig
60 lines (48 loc) · 1.35 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[user]
name = Jerome Dalbert
[core]
ignorecase = false
excludesfile = /Users/jerome/.gitignore_global
attributesfile = /Users/jerome/.gitattributes
[color]
ui = always
[alias]
ignore = !git update-index --assume-unchanged
unignore = !git update-index --no-assume-unchanged
ignored = !git ls-files -v | grep ^[a-z]
[push]
default = simple
[diff]
noprefix = true
algorithm = histogram
[diff-so-fancy]
markEmptyLines = false
# [merge "bundlelock"]
# name = bundle lock
# driver = bundle lock
[merge "railsschema"]
name = newer Rails schema version
driver = "ruby -e '\n\
system %(git), %(merge-file), %(--marker-size=%L), %(%A), %(%O), %(%B)\n\
b = File.read(%(%A))\n\
b.sub!(/^<+ .*\\nActiveRecord::Schema\\.define.version: ([0-9_]+). do\\n=+\\nActiveRecord::Schema\\.define.version: ([0-9_]+). do\\n>+ .*/) do\n\
%(ActiveRecord::Schema.define(version: #{[$1, $2].max}) do)\n\
end\n\
File.open(%(%A), %(w)) {|f| f.write(b)}\n\
exit 1 if b.include?(%(<)*%L)'"
[commit]
gpgsign = true
[url "[email protected]:"]
insteadOf = "https://github.com/"
[include]
path = ~/.gitconfig_local
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[init]
defaultBranch = main
[absorb]
autoStageIfNothingStaged = true