summaryrefslogtreecommitdiffstats
path: root/.config/git/config
blob: 3ad8b1a985902140f31b6446ade8e60708e48aa2 (plain)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[include]
    path = ./gitconfig.local
[core]
    autocrlf = input
    safecrlf = true
    excludesfile = ~/.config/git/ignore
    pager = delta
[alias]
    co = checkout
    ci = commit
    st = status
    br = branch
    type = cat-file -t
    dump = cat-file -p
    adog = log --all --decorate --oneline --graph
    hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
    sl = log --oneline --decorate -20
    sla = log --oneline --decorate --graph --all -20
    branches = "for-each-ref --sort=-committerdate --format='%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)' refs/remotes"
    dft = difftool
[credential]
    helper = cache --timeout=3600
[commit]
    gpgsign = true
    verbose = true
[pull]
    ff = only
[push]
    default = simple
[merge]
    conflictStyle = zdiff3
[rebase]
    autoSquash = true
[rerere]
    enabled = true
[help]
    autoCorrect = prompt
[init]
    defaultBranch = main
[diff]
    tool = difftastic
    algorithm = histogram
[sendemail]
    smtpserver = /usr/bin/msmtp
    smtpserveroption = -a
    smtpserveroption = ceng_argor
[color]
    ui = true
[color "diff-highlight"]
    oldNormal = red bold
    oldHighlight = red bold 52
    newNormal = green bold
    newHighlight = green bold 22
[color "diff"]
    meta = yellow
    frag = magenta bold
    commit = yellow bold
    old = red bold
    new = green bold
    whitespace = red reverse
[difftool]
    prompt = false
[difftool "difftastic"]
    cmd = difft "$LOCAL" "$REMOTE"
[pager]
    difftool = true
    diff = delta
    log = delta
    reflog = delta
    show = delta
[interactive]
    diffFilter = delta --color-only --features=interactive
[delta]
    features = line-numbers decorations side-by-side
    plus-style = syntax "#003800"
    minus-style = syntax "#3f0001"
[delta "decorations"]
    commit-decoration-style = bold yellow box ul
    file-style = bold yellow ul
    file-decoration-style = none
    hunk-header-decoration-style = cyan box ul
[delta "line-numbers"]
    line-numbers-left-style = cyan
    line-numbers-right-style = cyan
    line-numbers-minus-style = 124
    line-numbers-plus-style = 28
[credential "https://git.overleaf.com"]
    helper = !pass overleaf/git