-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitconfig
75 lines (73 loc) · 1.65 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
[user]
name = Michael Stock
email = [email protected]
signingkey = /Users/mikeastock/.ssh/id_ed25519.pub
[alias]
co = checkout
oc = checkout
com = checkout main
ci = commit
cm = commit -v
t = status
s = status
st = status
br = branch --sort=-committerdate
df = diff --color
dfom = diff main --color
pl = pull
p = push
ad = add --patch
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
su = submodule update --init --recursive
pim = pull --no-rebase origin main
d = diff
lc = log -n 1
[push]
default = current
[core]
pager = delta
editor = nvim
excludesfile = /Users/mikeastock/.gitignore
[color]
ui = auto
; [color "diff-highlight"]
; oldNormal = "red bold"
; oldHighlight = "red bold 52"
; newNormal = "green bold"
; newHighlight = "green bold 22"
[color "status"]
added = yellow
changed = green
untracked = cyan
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[branch "master"]
remote = origin
merge = refs/heads/master
[difftool]
prompt = false
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pull]
rebase = true
[rerere]
enabled = true
[init]
defaultBranch = main
[gpg]
format = ssh
[commit]
gpgsign = true
[merge]
conflictstyle = zdiff3
[delta]
navigate = true # use n and N to move between diff sections
# delta detects terminal colors automatically; set one of these to disable auto-detection
# dark = true
# light = true