-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitconfig
More file actions
57 lines (43 loc) · 1.19 KB
/
Copy path.gitconfig
File metadata and controls
57 lines (43 loc) · 1.19 KB
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
[core]
editor = nvim
pager = delta
compression = 8
whitespace = error
preloadindex = true
[alias]
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
lg2 = log --graph --abbrev-commit --decorate --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(auto)%d%C(reset)'
lg = lg1
lgdiff = lg2 origin/main..HEAD
[push]
autoSetupRemote = true
default = current
[pull]
default = current
rebase = true
[rebase]
autoStash = true
missingCommitsCheck = warn
[log]
abbrevCommit = true
[advice]
addEmptyPathspec = false
pushNonFastForward = false
statusHints = false
[url "git@github.com:"]
insteadOf = "gh:"
[url "git@github.com:shivan-s"]
insteadOf = "shivan:"
[commit]
gpgSign = true
[gpg]
format = ssh
[init]
defaultBranch = main
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
dark = true # or light = true, or omit for auto-detection
[merge]
conflictStyle = zdiff3