-
Notifications
You must be signed in to change notification settings - Fork 27
/
gitconfig.common
63 lines (63 loc) · 1.13 KB
/
gitconfig.common
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
61
62
63
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow
frag = magenta
old = red
new = green
[color "status"]
added = yellow
changed = red
untracked = cyan
[alias]
from = !git fetch && git rebase origin/main
co = checkout
st = status
ci = commit
blam = log -u
ctags = !.git/hooks/ctags
[apply]
whitespace = nowarn
[diff "ruby"]
funcname = ^ *\\(\\(class\\|module\\|def\\) .*\\)
[merge]
summary = true
conflictstyle = diff3
[push]
default = upstream
[branch]
autosetuprebase = always
[core]
excludesfile = ~/.gitignore
autocrlf = input
whitespace = =
[mergetool]
keepBackup = true
[url "git@github.com:"]
insteadOf = gh:
[url "git@heroku.com:"]
insteadOf = heroku:
[init]
templatedir = ~/.git_template
defaultBranch = main
[heroku]
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[fetch]
prune = true
[commit]
gpgsign = true
[gpg]
program = gpg
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true