Files
dotfiles/git/gitconfig
T
2025-06-14 14:49:40 +01:00

88 lines
1.8 KiB
Plaintext

[user]
email = hello@jake-is.me
name = Jake Pullen
[commit]
template = ~/.config/git/template
[core]
autocrlf = input # keep newlines as in input
compression = 9 # trade cpu for network
fsync = none
whitespace = error # threat incorrect whitespace as errors
editor = nvim
[advice] # disable advices
addEmptyPathspec = false
pushNonFastForward = false
statusHints = false
[blame]
coloring = highlightRecent
date = relative
[diff]
context = 3 # less context in diffs
renames = copies # detect copies as renames in diffs
[init]
defaultBranch = main
[log]
abbrevCommit = true # short commits
graphColors = blue,yellow,cyan,magenta,green,red
[status]
branch = true
short = true
showStash = true
showUntrackedFiles = all # show individual untracked files
[push]
autoSetupRemote = true # easier to push new branches
default = current # push only current branch by default
followTags = true # push also tags
gpgSign = false # my remotes doesn't support sign pushes
[pull]
rebase = true
[submodule]
fetchJobs = 16
[rebase]
autoStash = true
# Colors
[color "blame"]
highlightRecent = black bold,1 year ago,white,1 month ago,default,7 days ago,blue
[color "branch"]
current = magenta
local = default
remote = yellow
upstream = green
plain = blue
[color "diff"]
meta = black bold
frag = magenta
context = white
whitespace = yellow reverse
[interactive]
diffFilter = diff-so-fancy --patch
singlekey = true
# Third-party: diff-so-fancy
[diff-so-fancy]
markEmptyLines = false
# URL shortcuts
[url "git@github.com:"]
insteadOf = "gh:"
[url "git@github.com:Jake-Pullen:"]
insteadOf = "JP:"
[maintenance]
repo = /home/devin/dotfiles