summaryrefslogtreecommitdiff
path: root/git/.gitconfig
blob: 260be78d18cffa92ee2febbd59783971f804a13a (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
[user]
	email = mattst88@gmail.com
	name = Matt Turner
	signingkey = 0xACEB29740C9A4E97!
[includeIf "gitdir:~/projects/gentoo/"]
	path = ~/projects/gentoo/.gitconfig
[color]
	ui = auto
[rebase]
	autosquash = true
[core]
	excludesfile = /home/mattst88/.global_ignore
	autocrlf = false
	filemode = false
	pager = less -+F
[diff]
	renames = true
[push]
	default = simple
[alias]
	fixes = show -s --pretty='format:Fixes: %h (\"%s\")'
	co = checkout
	br = branch
	shwo = show
	grpe = grep
	lgo = log
	last-commit-to = log -n 1 --pretty=format:%H
[init]
	defaultBranch = main
[fixup]
	menu = fzf --height '60%' \
		--bind 'tab:toggle-preview' \
		--bind 'space:preview-page-down' \
		--preview 'git show --color {+1}' \
		--preview-window=up:80% \
		--preview-window cycle \
		--prompt 'Select commit: '