[user]
	name = raylu
	email = 90059+raylu@users.noreply.github.com
	signingkey = BA778D8B

[color]
	ui = true
	interactive = true

[color "status"]
	added = green bold
	changed = red bold
	untracked = cyan

[color "diff"]
	meta = cyan bold
	old = red bold
	new = green bold
	frag = blue
	commit = yellow bold

[color "branch"]
	current = green bold
	local = bold
	remote = red bold

[color "grep"]
	match = cyan

[pager]
	color = true

[core]
	editor = vi
	pager = delta
	untrackedCache = true

[interactive]
	diffFilter = delta --color-only

[delta]
	line-numbers = false
	navigate = true

[merge]
	defaultToUpstream = true
	conflictstyle = diff3

[rebase]
	autosquash = true

[rerere]
	enabled = true

[fetch]
	prune = true

[pull]
	ff = true

[push]
	default = upstream

[diff]
	tool = kitty
	guitool = kitty.gui
    colorMoved = default
[difftool]
	prompt = false
	trustExitCode = true
[difftool "kitty"]
	cmd = kitty +kitten diff $LOCAL $REMOTE
[difftool "kitty.gui"]
	cmd = kitty kitty +kitten diff $LOCAL $REMOTE

[log]
	decorate = true

[alias]
	short = log --graph --pretty=format:'%C(yellow)%h%Creset -%C(red)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --patience
	ff = merge --ff-only
	put = !git-push && git-push --tags
	pushf = push --force-with-lease

[protocol]
	version = 2

[init]
	defaultBranch = main

[diff-so-fancy]
	markEmptyLines = false
