-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_gitconfig.tmpl
More file actions
54 lines (39 loc) · 861 Bytes
/
dot_gitconfig.tmpl
File metadata and controls
54 lines (39 loc) · 861 Bytes
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
[user]
name = Chris Alexander
email = 2815297+chris-alexander@users.noreply.github.com
signingkey = {{ .git.signingkey | quote }}
[core]
pager = less -q -R
excludesfile = ~/.gitignore
editor = ${VISUAL:-${EDITOR:-vi}}
[init]
defaultBranch = main
[push]
default = current
[pull]
rebase = true
[fetch]
prune = true
[commit]
gpgsign = true
[gpg]
format = ssh
[help]
autocorrect = prompt
[rerere]
enabled = true
[color]
ui = auto
[alias]
tags = tag -l
branches = branch -a
remotes = remote -v
hist = log --graph --pretty=format:'%Cred%h%Creset %s%C(yellow)%d%Creset %Cgreen(%cr)%Creset [%an]' --abbrev-commit --date=relative
[diff]
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
[merge]
tool = vscode
[mergetool "vscode"]
cmd = code --wait --merge $REMOTE $LOCAL $BASE $MERGED