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