-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_gitconfig.tmpl
101 lines (75 loc) · 2.37 KB
/
dot_gitconfig.tmpl
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
89
90
91
92
93
94
95
96
97
98
99
100
101
# Global Git configuration.
# See:
# 1. https://git-scm.com/docs/git-config
# machine-specific configuration
{{- if eq .chezmoi.hostname "TOWER" }}
[user]
name = Rafael Julio
email = development@rafifos.dev
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFGP/C/FYnEoz6bC1bk24IHHFFCWyyCcRekR7POqLR3T
{{- end }}
{{- if eq .chezmoi.hostname "IS-NOT-NB0286" }}
[user]
name = Rafael Julio Lemos Silva
email = rafael.silva@internationalschool.global
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJquvfk38aKCnpiVOJID0uK3l58B3T3rJYz0Ukj+YJG8
# Use work GitHub account by default
[credential "https://github.com"]
username = rafael-silva-is
# User personal GitHub account on select repositories
[credential "https://rafifos@github.com"]
username = rafifos
{{- end }}
# Enables commit signing using a SSH key.
[gpg]
format = ssh
# Uses 1Password to sign commits.
[gpg "ssh"]
program = "/mnt/c/Users/rafael.silva/AppData/Local/1Password/app/8/op-ssh-sign-wsl"
[include]
path = .config/delta/themes/catppuccin.gitconfig
[core]
# CRLF endings in Windows checkouts.
# LF endings on Mac and Linux systems and in the repository.
autocrlf = input
# Retains the execution bit from files at checkout/commit.
filemode = true
# Text editor to be used on commands that launch a text editor.
editor = hx
# Use delta as the default pager.
pager = delta
sshCommand = "ssh.exe"
[credential]
helper = /mnt/c/Program\\ Files/Git/mingw64/bin/git-credential-manager.exe
[init]
defaultBranch = main
[status]
# Show all untracked files by default.
showUntrackedFiles = all
[pull]
# Only allows pulls to use the fast-forward method.
ff = only
[commit]
# Template to be shown on the commit message prompt.
template = ~/.gitcommittemplate
# By default, signs commit with GnuPG.
gpgSign = true
[merge]
# Visual Studio Code 3-way merge editor as the default mergetool.
tool = code
conflictstyle = diff3
[mergetool "code"]
# Visual Studio Code 3-way merge editor.
# See: https://code.visualstudio.com/updates/v1_70#_command-line-option-merge
cmd = code --wait --merge $REMOTE $LOCAL $BASE $MERGED
[diff]
colorMoved = default
[interactive]
diffFilter = delta --color-only
[delta]
features = catppuccin-frappe
line-numbers = true
side-by-side = true
navigate = true
hyperlinks = true
hyperlinks-file-link-format = "vscode://file/{path}:{line}"