-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
75 lines (75 loc) · 1.59 KB
/
.gitconfig
File metadata and controls
75 lines (75 loc) · 1.59 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[include]
path = ~/src/delta/themes.gitconfig
path = ~/.gitconfig.work
[url "[email protected]:"]
insteadOf = https://github.com/
insteadOf = git://github.com/
[core]
editor = nvim -f
pager = delta
preloadIndex = true
untrackedCache = true
sshCommand = ssh -o ControlPath=none
[alias]
aliases = "!f() { git config --global -l | grep alias | sort; }; f"
authors-list = shortlog -e -s -n
ca = commit --amend
cane = commit --amend --no-edit
discard = checkout --
mergedcommits = "!f() { git log --oneline \"$1\"^1..\"$1\"^2; }; f"
uncommit = reset --soft HEAD^
[push]
autoSetupRemote = true
[pull]
rebase = true
[merge]
conflictStyle = zdiff3
[gpg]
format = ssh
[user]
name = benjamin liu
signingkey = ~/.ssh/id_ed25519.pub
[branch]
sort = -committerdate
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
side-by-side = true
line-numbers = true
syntax-theme = Catppuccin Macchiato
[diff]
colorMoved = default
algorithm = histogram
renameLimit = 999999
[commit]
gpgsign = true
[gpg "ssh"]
allowedSignersFile = ~/.ssh/allowed_signers
[pack]
threads = 6
[help]
autocorrect = prompt
[rebase]
autosquash = true
updateRefs = true
instructionFormat = (%an <%ae>) %s
[credential]
provider = generic
helper = /usr/local/share/gcm-core/git-credential-manager
[credential "https://dev.azure.com"]
useHttpPath = true
[fetch]
prune = true
pruneTags = true
all = true
[feature]
manyFiles = true
[http]
postBuffer = 157286400
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f