-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
34 lines (33 loc) · 897 Bytes
/
.gitconfig
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
[user]
name = BBaoVanC
email = [email protected]
signingKey = CB7CCED9209E47B9B99B8E1D18089E4E3CCF1D3A
[core]
editor = nvim
[commit]
gpgsign = true
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[merge]
tool = nvimdiff
conflictstyle = diff3
[alias]
graph = log --oneline --graph
isolog = log --date=iso-strict
# see https://stackoverflow.com/a/4991675
fork-point = !zsh -c 'diff --old-line-format='' --new-line-format='' <(git rev-list --first-parent "${1:-master}") <(git rev-list --first-parent "${2:-HEAD}") | head -1' -
[pull]
ff = only
[url "ssh://[email protected]/"]
insteadOf = https://github.com/
[url "ssh://[email protected]/"]
insteadOf = https://git.bbaovanc.com/
[url "ssh://[email protected]/"]
insteadOf = https://git.boba.best/
[tag]
gpgSign = true
[init]
defaultBranch = master