summaryrefslogtreecommitdiff
path: root/dot_gitconfig
blob: 57155d0df55f0822ada8db6da03256e98a9d5e1f (plain)
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
[user]
	name = Santo Cariotti
	email = santo@dcariotti.me
	signingkey = C9B7C8FD3701C2C6
[alias]
	amend = commit --amend --verbose
	ci = commit --verbose
	co = checkout
	cp = cherry-pick
	di = diff
	dis = diff --staged
	fd = "!f() { git log --grep=$1; }; f"
	logs =  log --graph --branches --remotes --tags --pretty=format':%C(yellow)%h%C(green)%d%Creset %C(cyan)%an <%ae> %Creset%C(white)%aD %C(red)(%ar)\n%s%Creset\n'
	st = status
[credential]
	helper = store
[core]
	editor = nvim
    ; pager = bat -n --style=plain
    ; pager = delta
	excludesFile = ~/.gitignore
[init]
	defaultBranch = main
[grep]
	lineNumber = true
[color "grep"]
	lineNumber = yellow
	match = red bold
	filename = cyan
[merge]
	tool = nvimdiff
	conflictstyle = diff3
[mergetool]
	prompt = false
; [interactive]
; 	diffFilter = delta --color-only
; [delta]
; 	features = line-numbers decorations
[pull]
	rebase = false
[diff]
	; external = difft
    algorithm = histogram
[safe]
	directory = /home/santo/Documents/Notes
[url "git@github.com:"]
	pushInsteadOf = "https://github.com/"
	pushInsteadOf = "github:"
	pushInsteadOf = "git://github.com/"