all repos

dotfiles @ bb056e75e7775009ea080d0dde9840399f127158

i use rach linux btw

dotfiles/gitconfig (view raw)

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