-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
51 lines (51 loc) · 1.18 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
[user]
name = David Gidwani
email = david.gidwani@atomweight.io
[alias]
delete-the-fucking-tag = !sh -c 'git tag -d $@ && git push origin :refs/tags/$@' -
current-tag = describe --tags --abbrev=0
fixup = "!git log -n 50 --pretty=format:'%h %s' --no-merges | fzf | cut -c -7 | xargs -o git commit --fixup"
taglist = tag --list --format '%(refname:short) %(objectname:short)'
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 11
frag = magenta bold
func = 146 bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[core]
pager = "diff-so-fancy | less --tabs=4 -RFX"
autocrlf = input
excludesfile = ~/.gitignore_global
filemode = false
trustctime = false
[delta]
plus-color = "#012800"
minus-color = "#340001"
line-numbers = true
syntax-theme = Dracula
[advice]
statusHints = false
[include]
path = /home/david/.gitalias
[init]
defaultBranch = main
[interactive]
diffFilter = "diff-so-fancy --patch"
[mergetool]
keepBackup = false
[pull]
ff = only
[push]
default = current
followTags = true
[rebase]
autosquash = true