2011-12-31 20:28:31 +01:00
|
|
|
[alias]
|
2023-02-12 13:26:58 +01:00
|
|
|
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
|
2014-10-08 22:28:16 +02:00
|
|
|
|
2011-12-31 20:28:31 +01:00
|
|
|
[core]
|
2023-02-14 21:44:28 +01:00
|
|
|
editor = nvim
|
2023-02-12 13:26:58 +01:00
|
|
|
autocrlf = input
|
2023-02-14 21:42:47 +01:00
|
|
|
safecrlf = warn
|
2011-12-31 20:28:31 +01:00
|
|
|
[color]
|
2023-02-12 13:26:58 +01:00
|
|
|
# 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]
|
2023-02-12 13:26:58 +01:00
|
|
|
default = current
|
|
|
|
gpgSign = if-asked
|
2023-01-24 07:24:47 +01:00
|
|
|
autoSetupRemote = true
|
2023-01-25 11:48:37 +01:00
|
|
|
recurseSubmodules = on-demand
|
2014-07-14 20:17:14 +02:00
|
|
|
[credential]
|
2023-02-12 13:26:58 +01:00
|
|
|
helper = cache --timeout=86400
|
2014-10-05 21:30:10 +02:00
|
|
|
[merge]
|
2023-02-12 13:26:58 +01:00
|
|
|
ff = only
|
2023-03-31 08:21:57 +02:00
|
|
|
renormalize = true
|
2015-02-14 21:48:03 +01:00
|
|
|
[format]
|
2023-02-12 13:26:58 +01:00
|
|
|
signOff = true
|
2016-04-09 12:04:48 +02:00
|
|
|
[commit]
|
2023-02-12 13:26:58 +01:00
|
|
|
gpgsign = true
|
2016-06-20 18:00:04 +02:00
|
|
|
[diff]
|
2023-02-12 13:26:58 +01:00
|
|
|
compactionHeuristic = true
|
2023-05-24 10:21:42 +02:00
|
|
|
algorithm = histogram
|
2016-06-20 18:00:04 +02:00
|
|
|
[pager]
|
2023-02-12 13:26:58 +01:00
|
|
|
# log = diff-highlight | less
|
|
|
|
# show = diff-highlight | less
|
|
|
|
# diff = diff-highlight | less
|
2016-06-20 18:00:04 +02:00
|
|
|
[interactive]
|
2023-02-12 13:26:58 +01:00
|
|
|
# diffFilter = diff-highlight
|
2019-12-08 10:52:16 +01:00
|
|
|
[gpg]
|
2023-02-12 13:26:58 +01:00
|
|
|
format = ssh
|
2023-02-21 09:10:19 +01:00
|
|
|
#format = x509
|
2023-02-21 09:16:12 +01:00
|
|
|
[gpg "ssh"]
|
|
|
|
allowedSignersFile = ~/src/gitea.blesmrt.net/Mikaela/ssh-allowed_signers/allowed_signers
|
|
|
|
#[gpg "x509"]
|
|
|
|
# program = gpgsm
|
2019-12-08 10:52:16 +01:00
|
|
|
[tag]
|
2023-02-12 13:26:58 +01:00
|
|
|
forceSignAnnotated = true
|
2020-06-13 21:12:12 +02:00
|
|
|
[pull]
|
2023-02-12 13:26:58 +01:00
|
|
|
ff = only
|
2020-09-13 16:55:34 +02:00
|
|
|
[init]
|
2023-02-12 13:26:58 +01:00
|
|
|
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
|
2022-05-05 13:47:13 +02:00
|
|
|
[advice]
|
2023-02-12 13:26:58 +01:00
|
|
|
# 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
|
2023-01-30 07:38:06 +01:00
|
|
|
[lfs]
|
|
|
|
setlockablereadonly = true
|
|
|
|
locksverify = true
|
2023-03-31 08:21:57 +02:00
|
|
|
[log]
|
|
|
|
mailmap = true
|
|
|
|
showSignature = true
|
2024-06-10 09:35:38 +02:00
|
|
|
[include]
|
|
|
|
path = ~/.gitconfig2
|
2023-06-17 09:48:07 +02:00
|
|
|
# https://sandrotosi.blogspot.com/2020/10/multiple-git-configurations-depending.html?m=1
|
2023-06-17 14:25:41 +02:00
|
|
|
# see also .mikaela/2src-gitconfig within the same shell-things repo
|
|
|
|
[includeIf "gitdir:~/2src/"]
|
|
|
|
path = ~/2src/gitconfig
|