-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitconfig
150 lines (125 loc) · 3.48 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
[alias]
amend = commit --amend
amend = commit --amend
ammend = commit --amend
br = branch
bra = branch -a
brc = rev-parse --abbrev-ref HEAD
brd = branch -d
brdf = branch -D
catchup = log --patch --reverse --topo-order _ribbon..origin/master
ch = cherry
ci = commit -v
cia = commit -av
co = checkout
cob = checkout -b
conflicts = !vim $(git diff --name-only --diff-filter=U)
cpk = cherry-pick
ctags = !.git/hooks/ctags
di = diff
diffc = diff --cached --
diffn = diff --name-only
diffnorigin = diff origin/master --name-only
idff = diff
last = log -1 HEAD
logp = log --oneline --abbrev-commit --graph --decorate
ls = ls-remote .
mine = !git log --author=`git config user.email`
mr = !lab mr new
pgm = push github master
phm = push heroku master
pr = pull-request
pro = pull-request -o
prom = pull-request -b main -o
pu = push -u
pum = push upstream master
rba = rebase --abort
rbc = rebase --continue
rbm = rebase master
recent = log --oneline -10
ribbon = tag --force _ribbon origin/master
sha = log -1 --oneline HEAD
softrm = rm --cached --
softrmdir = rm --cached -r --
st = status
sta = stash
stl = stash list
stp = stash pop
sync = !reposync
undo = reset --soft HEAD~1
unstage = reset HEAD --
yoink = cherry-pick
[branch]
autosetuprebase = remote
[core]
editor = nvim
excludesfile = ~/.gitignore.global
pager = delta
[color]
status = auto
interactive = auto
grep = auto
branch = auto
diff = auto
ui = true
[commit]
gpgsign = true
# maybe: villsau zebra-dark
# meh?: collared-trogon calochortus-lyallii
# almost, but no: chameleon mantis-shrimp matis-shrimp-lite woolly-mammoth
#
[delta]
features = villsau
navigate = true # use n and N to move between diff sections
light = false
dark = true
side-by-side = false
[delta "default"]
line-numbers = true
[delta "magit"]
line-numbers = false
[diff]
colorMoved = default
[filesystem "AdoptOpenJDK|1.8.0_232|/dev/disk1s2"]
timestampResolution = 1001 milliseconds
minRacyThreshold = 0 nanoseconds
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[github]
user = localshred
[gpg]
format = ssh
# See https://blog.1password.com/git-commit-signing/
# See https://calebhearth.com/sign-git-with-ssh
[gpg "ssh"]
program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"
allowedSignersFile = /Users/bj/.ssh/allowed_signers
[include]
path = ~/code/src/utilities/dotfiles/delta-themes.gitconfig
[init]
defaultBranch = main
[interactive]
diffFilter = delta --color-only --features=interactive
[merge]
conflictstyle = diff3
[pager]
[push]
default = current
; [url "[email protected]:"]
; insteadOf = https://github.com/
; [url "[email protected]:"]
; insteadOf = https://bitbucket.org/
; [url "[email protected]:"]
; insteadOf = https://gitlab.com/
[user]
name = BJ Neilsen
email = [email protected]
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINiZrJmwtdHkKYQ+tnxXvuL+N9XPINq0lOL3ttTRz8aE
[pull]
rebase = true