summaryrefslogtreecommitdiffstats
path: root/.config/git/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/git/config')
-rw-r--r--.config/git/config88
1 files changed, 88 insertions, 0 deletions
diff --git a/.config/git/config b/.config/git/config
new file mode 100644
index 0000000..3ad8b1a
--- /dev/null
+++ b/.config/git/config
@@ -0,0 +1,88 @@
1[include]
2 path = ./gitconfig.local
3[core]
4 autocrlf = input
5 safecrlf = true
6 excludesfile = ~/.config/git/ignore
7 pager = delta
8[alias]
9 co = checkout
10 ci = commit
11 st = status
12 br = branch
13 type = cat-file -t
14 dump = cat-file -p
15 adog = log --all --decorate --oneline --graph
16 hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
17 sl = log --oneline --decorate -20
18 sla = log --oneline --decorate --graph --all -20
19 branches = "for-each-ref --sort=-committerdate --format='%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)' refs/remotes"
20 dft = difftool
21[credential]
22 helper = cache --timeout=3600
23[commit]
24 gpgsign = true
25 verbose = true
26[pull]
27 ff = only
28[push]
29 default = simple
30[merge]
31 conflictStyle = zdiff3
32[rebase]
33 autoSquash = true
34[rerere]
35 enabled = true
36[help]
37 autoCorrect = prompt
38[init]
39 defaultBranch = main
40[diff]
41 tool = difftastic
42 algorithm = histogram
43[sendemail]
44 smtpserver = /usr/bin/msmtp
45 smtpserveroption = -a
46 smtpserveroption = ceng_argor
47[color]
48 ui = true
49[color "diff-highlight"]
50 oldNormal = red bold
51 oldHighlight = red bold 52
52 newNormal = green bold
53 newHighlight = green bold 22
54[color "diff"]
55 meta = yellow
56 frag = magenta bold
57 commit = yellow bold
58 old = red bold
59 new = green bold
60 whitespace = red reverse
61[difftool]
62 prompt = false
63[difftool "difftastic"]
64 cmd = difft "$LOCAL" "$REMOTE"
65[pager]
66 difftool = true
67 diff = delta
68 log = delta
69 reflog = delta
70 show = delta
71[interactive]
72 diffFilter = delta --color-only --features=interactive
73[delta]
74 features = line-numbers decorations side-by-side
75 plus-style = syntax "#003800"
76 minus-style = syntax "#3f0001"
77[delta "decorations"]
78 commit-decoration-style = bold yellow box ul
79 file-style = bold yellow ul
80 file-decoration-style = none
81 hunk-header-decoration-style = cyan box ul
82[delta "line-numbers"]
83 line-numbers-left-style = cyan
84 line-numbers-right-style = cyan
85 line-numbers-minus-style = 124
86 line-numbers-plus-style = 28
87[credential "https://git.overleaf.com"]
88 helper = !pass overleaf/git