all repos

dotfiles @ 1644ae1161ad10ef348d094f33233107323b5e47

i use rach linux btw

dotfiles/config/git/config (view raw)

1
# vim: ft=gitconfig
2
3
[user]
4
    name = Oleksandr Smirnov
5
    email = olexsmir@gmail.com
6
    signingkey = ~/.ssh/git-sign.pub
7
8
[gpg]
9
    program = gpg2
10
    format = ssh
11
12
[gpg "ssh"]
13
    ;; echo "$(whoami) $(cat $HOME/.ssh/id_*\.pub)" | tee $HOME/.config/git/allowed_signers
14
    allowedSignersFile = ~/.config/git/allowed_signers
15
16
[core]
17
    editor = nvim
18
    pager = delta
19
    quotePath = false
20
21
[init]
22
    defaultBranch = main
23
24
[alias]
25
    pushf = push --force-with-lease
26
    remotes = remote -v
27
    l = log --oneline --decorate --graph --all
28
    st = status -sb
29
    sw = switch
30
31
[interactive]
32
    diffFilter = delta --color-only
33
    singlekey = true
34
35
[merge]
36
    conflictstyle = zdiff3
37
38
[rebase]
39
    autoSquash = true
40
    autoStash = true
41
    updateRefs = true
42
43
[rerere]
44
    enabled = true
45
    autoupdate = true
46
47
[diff]
48
    algorithm = histogram
49
    colorMoved = true
50
    mnemonicPrefix = true
51
    renames = true
52
53
[delta]
54
    features = tokyonight
55
56
    true-color = always
57
    navigate = true
58
    light = false
59
    keep-plus-minus-markers = true
60
    line-numbers = true
61
    file-decoration-style = none
62
63
[delta "tokyonight"]
64
    minus-style                   = syntax "#37222c"
65
    minus-non-emph-style          = syntax "#37222c"
66
    minus-emph-style              = syntax "#713137"
67
    minus-empty-line-marker-style = syntax "#37222c"
68
    line-numbers-minus-style      = "#b2555b"
69
    plus-style                    = syntax "#20303b"
70
    plus-non-emph-style           = syntax "#20303b"
71
    plus-emph-style               = syntax "#2c5a66"
72
    plus-empty-line-marker-style  = syntax "#20303b"
73
    line-numbers-plus-style       = "#266d6a"
74
    line-numbers-zero-style       = "#3b4261"
75
76
[column]
77
    ui = auto
78
79
[branch]
80
    sort = -committerdate
81
82
[commit]
83
    gpgSign = true
84
    verbose = true
85
86
[fetch]
87
    writeCommitGraph = true
88
    prune = true
89
    pruneTags = true
90
    all = true
91
92
[tag]
93
    sort = version:refname
94
95
[push]
96
    default = current
97
    autoSetupRemote = true
98
    followTags = true
99
100
[pull]
101
    rebase = true
102
103
[help]
104
    autocorrect = prompt