-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
96 lines (93 loc) · 2.17 KB
/
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
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
[user]
name = "Caleb White"
email = [email protected]
[includeIf "gitdir:~/projects/"]
path = ~/.gitconfig.work
[alias]
br = branch -av
brdel = branch -D
cloneb = clone-bare-for-worktrees
c = commit
co = checkout
cob = checkout -b
d = diff
f = fetch
l = log
p = pull
P = push
Pf = push --force-with-lease
ra = rebase --abort
rc = rebase --continue
ri = rebase -i
spo = stash pop
spu = stash push -u
st = status
stag = tag -s
w = worktree
wa = worktree add
aliases = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\\ \t => \\2/' | sort
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lgb = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --branches
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
[checkout]
defaultRemote = origin
[credential]
helper = store
[color]
ui = auto
[commit]
gpgsign = true
[core]
autocrlf = false
excludesFile = ~/.gitignore
editor = nvim
commentchar = *
pager = delta
[diff]
colorMoved = default
[fetch]
prune = true
[format]
signoff = true
[init]
defaultBranch = master
[interactive]
diffFilter = delta --color-only
[merge]
conflictstyle = zdiff3
tool = nvimdiff2
ff = false
[pull]
rebase = true
[push]
autoSetupRemote = true
[rebase]
autoSquash = true
[rerere]
enabled = true
autoupdate = true
[sendemail]
confirm = auto
smtpServer = 127.0.0.1
smtpServerPort = 1025
smtpEncryption = ssl
smtpUser = [email protected]
[tag]
gpgSign = true
[worktree]
guessRemote = true
# 3rd Party Tools
[absorb]
autoStageIfNothingStaged = true
maxStack = 20
oneFixupPerCommit = false
[b4]
send-endpoint-web = https://lkml.kernel.org/_b4_submit
send-same-thread = true
[delta]
hyperlinks = true
line-numbers = true
navigate = true
side-by-side = true
[patatt]
signingKey = openpgp:93EDE5A0C788BC38