-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_gitconfig.tmpl
More file actions
59 lines (59 loc) · 1.4 KB
/
dot_gitconfig.tmpl
File metadata and controls
59 lines (59 loc) · 1.4 KB
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
[core]
pager = delta
editor = nvim
excludesFile = ~/.gitignore.everywhere
excludesFile = .gitignore.local # Deprecated: use native per-project .git/info/exclude instead
[commit]
# Note: before disabling, consider `--no-gpg-sign` where needed
# example: git rebase --interactive --no-gpg-sign && git commit --amend
gpgsign = true
[pull]
ff = only
[push]
default = simple
autoSetupRemote = true
[url "git@github.com:"]
insteadOf = git://github.com/
insteadOf = https://github.com/
[alias]
cl = clone
co = checkout
br = branch
ci = commit
st = status
lg = log --oneline --decorate --graph --all
r = remote
re = remote
sw = switch
[color]
ui = true
[interactive]
diffFilter = delta --color-only
[add.interactive]
useBuiltin = false # required for git 2.37.0
[delta]
features = side-by-side line-numbers decorations
syntax-theme = tokyonight_moon
side-by-side = true
hunk-header-style = syntax
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
[merge]
tool = nvimdiff
conflictstyle = zdiff3
[mergetool "nvimdiff"]
layout = "LOCAL,BASE,REMOTE / MERGED"
[mergetool]
prompt = true
[diff]
colorMoved = default
[init]
defaultBranch = main
[pager]
branch = false
{{- if (env "DEVPOD" | eq "true") }}
[credential]
helper = !'/usr/local/bin/devpod' agent git-credentials --port 12049
{{- end }}