.dotfiles/git/config

82 lines
1.3 KiB
Text

[user]
name = "Martin Larsson"
[core]
compression = 9
whitespace = error
preloadindex = true
fsmonitor = true
untrackedCache = true
[status]
branch = true
showStash = true
showUntrackedFiles = all
[diff]
context = 3
renames = copies
interHunkContext = 10
[pager]
diff = diff-so-fancy | $PAGER
[diff-so-fancy]
markEmptyLines = false
stripLeadingSymbols = false
[interactive]
singleKey = true
[push]
autoSetupRemote = true
default = current
followTags = true
[pull]
default = current
rebase = true
[rebase]
autoStash = true
missingCommitsCheck = warn
autosquash = true
[merge]
ff = false
[log]
abbrevCommit = true
graphColors = blue,yellow,cyan,magenta,green,red
[branch]
sort = -committerdate
[tag]
sort = -taggerdate
[color "diff"]
meta = black bold
frag = magenta
context = white
whitespace = yellow reverse
old = red
[color "decorate"]
HEAD = red
branch = blue
tag = yellow
remoteBranch = magenta
[color "branch"]
current = magenta
local = default
remote = yellow
upstream = green
plain = blue
[url "git@github.com:"]
insteadOf = "gh:"
[url "git@gitlabs.com:"]
insteadOf = "gl:"