-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
56 lines (45 loc) · 1.35 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
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
# Profile Switching
[include]
path = ~/.git-personal.conf
[includeIf "gitdir:~/Developer/Synadia/"]
path = ~/Developer/Synadia/.git-synadia.conf
[gpg]
format = ssh
[alias]
graph = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all -n 15
fa = fetch --all
ff = merge --ff-only
cs = commit -s -S -m
slog = log --graph --all --topo-order --pretty='format:%h %ai %s%d (%an)'
s = status
cfh = commit --fixup=HEAD
rom = rebase -i --autosquash origin/main
[commit]
gpgsign = true
signgpg = false
[core]
pager = delta
[interactive]
diffFilter = delta --color-only
[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
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
[init]
defaultBranch = main
[url "ssh://[email protected]/"]
insteadOf = https://github.com/
[url "[email protected]:"]
insteadOf = https://github.com/
[url "https://@github.com/"]
insteadOf = https://github.com/