-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
115 lines (97 loc) · 2.47 KB
/
gitconfig
File metadata and controls
115 lines (97 loc) · 2.47 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
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
# Please indent options with one tab when editing defaults in
# That matches how "git config --global" edits the file.
[user]
name = "Hiren Hiranandani"
email = "hiren.hiranandani@chime.com"
signingkey = ~/.ssh/id_ed25519_signing.pub
[pager]
blame = delta --syntax-theme='gruvbox-dark'
# http://stackoverflow.com/questions/18257622/why-is-git-core-preloadindex-default-value-false
[core]
preloadindex = true
excludesfile = ~/.gitignore_global
pager = delta --syntax-theme='gruvbox-dark'
precomposeUnicode = true
[interactive]
diffFilter = delta --color-only --syntax-theme='gruvbox-dark'
[color]
ui = true
[push]
default = nothing
[gc]
autoDetach = false
[diff]
# seems to break somethings
renameLimit = 1000
# use `patience` so diffs are more exact
algorithm = patience
# use indentHeuristic so diffs are more pleasing
indentHeuristic = true
# making GHC build happy...
[url "git://github.com/ghc/packages-"]
insteadOf = git://github.com/ghc/packages/
[alias]
# aliases
# `git git` == `git`
git = !git
# common typo
pul = pull
# common rename
blame = annotate
# Show Status in Summary Form
st = status --short
# Print Aliases
aliases = "!awk '/\\[alias\\]/ {seen = 1}; seen {print}' ~/.gitconfig"
# list tags
tags = "!git tag --list | sort --version-sort --reverse"
# shorthands
c = commit
co = checkout
b = branch
# used for git-fuzzy
[pretty]
gflog = "%C(magenta bold)%h%Creset %C(bold blue)%an%Creset %Cgreen(%cr)%C(yellow)%d%Creset %s"
gfreflog = "%C(magenta bold)%h%Creset %C(bold blue)%an%Creset %Cgreen(%cr)%C(yellow)%d%Creset %s"
# `diff-so-fancy`-specific
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 11
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[advice]
detachedHead = false
[delta]
features = decorations
[delta "interactive"]
keep-plus-minus-markers = false
[delta "decorations"]
commit-decoration-style = blue ol
commit-style = raw
file-style = omit
hunk-header-decoration-style = blue box
hunk-header-file-style = red
hunk-header-line-number-style = "#067a00"
hunk-header-style = file line-number syntax
[url "git@github.com:"]
insteadOf = https://github.com/
[gpg]
format = ssh
[commit]
gpgsign = true
[pull]
rebase = true
[rebase]
autoStash = true
[init]
defaultBranch = main
[tag]
gpgSign = true
[gpg "ssh"]
allowedSignersFile = /Users/hiren.hiranandani/.config/git/allowed_signers