more tweaks
This commit is contained in:
+86
@@ -0,0 +1,86 @@
|
||||
[user]
|
||||
email = hello@jake-is.me
|
||||
name = Jake Pullen
|
||||
signingkey = 5CBC649FBEF851A6
|
||||
|
||||
[commit]
|
||||
template = ~/.config/git/template
|
||||
gpgsign = true
|
||||
|
||||
[tag]
|
||||
forceSignAnnotated = true
|
||||
|
||||
[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
|
||||
|
||||
[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
|
||||
|
||||
# URL shortcuts
|
||||
[url "git@github.com:"]
|
||||
insteadOf = "gh:"
|
||||
[url "git@github.com:Jake-Pullen/"]
|
||||
insteadOf = "JP:"
|
||||
[fetch]
|
||||
prune = true
|
||||
[safe]
|
||||
directory = /mnt/nas/hosted_git/DnD.git
|
||||
directory = /mnt/nas/hosted_git/dungeon_masters_vault.git
|
||||
Reference in New Issue
Block a user