shell-things/conf/gitconfig

85 lines
1.9 KiB
Plaintext
Raw Normal View History

[alias]
cleandi = clean -di
cleandix = clean -dix
# From http://progit.org/book/ch2-7.html
last = cat-file commit HEAD
mergen = merge --no-ff
pulln = pull --no-ff
pullen = pull --no-ff
verify = verify-commit HEAD
[core]
2023-02-14 21:44:28 +01:00
editor = nvim
autocrlf = input
2023-02-14 21:42:47 +01:00
safecrlf = warn
[color]
# From git manpage and http://book.git-scm.com/5_customizing_git.html
branch = true
diff = true
grep = true
interactive = true
pager = true
showbranch = true
status = true
ui = true
2014-05-25 16:28:49 +02:00
[push]
default = current
gpgSign = if-asked
autoSetupRemote = true
2023-01-25 11:48:37 +01:00
recurseSubmodules = on-demand
[credential]
helper = cache --timeout=86400
[merge]
ff = only
renormalize = true
2015-02-14 21:48:03 +01:00
[format]
signOff = true
2016-04-09 12:04:48 +02:00
[commit]
gpgsign = true
2016-06-20 18:00:04 +02:00
[diff]
compactionHeuristic = true
algorithm = histogram
2016-06-20 18:00:04 +02:00
[pager]
# log = diff-highlight | less
# show = diff-highlight | less
# diff = diff-highlight | less
2016-06-20 18:00:04 +02:00
[interactive]
# diffFilter = diff-highlight
[gpg]
format = ssh
#format = x509
[gpg "ssh"]
allowedSignersFile = ~/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers/allowed_signers
#[gpg "x509"]
# program = gpgsm
[tag]
forceSignAnnotated = true
[pull]
ff = only
[init]
defaultBranch = cxefa
2023-05-04 12:35:00 +02:00
# https://pre-commit.com/#pre-commit-init-templatedir
# pre-commit init-templatedir ~/.git-template
templateDir = ~/.git-template
[advice]
# I am not developing in detached head state, I generally want to compile
# a specific version of a program and I know how to get out of it
detachedHead = false
2023-01-25 11:48:37 +01:00
[status]
submodulesummary = 1
[submodule]
recurse = true
[lfs]
setlockablereadonly = true
locksverify = true
[log]
mailmap = true
showSignature = true
2024-06-10 09:35:38 +02:00
[include]
path = ~/.shell-things/.mikaela/gitconfig
path = ~/.gitconfig2
# https://sandrotosi.blogspot.com/2020/10/multiple-git-configurations-depending.html?m=1
# see also .mikaela/2src-gitconfig within the same shell-things repo
[includeIf "gitdir:~/2src/"]
path = ~/2src/gitconfig