2023-08-12 02:56:06 +00:00
|
|
|
# This is the default configuration for Git
|
2022-12-29 11:43:42 +00:00
|
|
|
[user]
|
|
|
|
name = Andrei Jiroh Halili
|
2023-05-12 16:55:54 +00:00
|
|
|
email = ajhalili2006@andreijiroh.eu.org
|
2022-12-29 11:43:42 +00:00
|
|
|
signingkey = 67BFC91B3DA12BE8
|
|
|
|
|
|
|
|
[commit]
|
|
|
|
gpgSign = true
|
2023-10-21 01:08:39 +00:00
|
|
|
template = ~/.config/git/commit-message-templates/default
|
2022-12-29 11:43:42 +00:00
|
|
|
[tag]
|
|
|
|
gpgSign = true
|
2023-08-12 02:56:06 +00:00
|
|
|
forceSignAnnotated = true
|
2022-12-29 11:43:42 +00:00
|
|
|
|
|
|
|
[format]
|
|
|
|
signOff = true
|
|
|
|
|
|
|
|
# https://groups.google.com/g/binary-transparency/c/f-BI4o8HZW0
|
|
|
|
[transfer]
|
|
|
|
fsckobjects = true
|
|
|
|
[fetch]
|
|
|
|
fsckobjects = true
|
|
|
|
[receive]
|
|
|
|
fsckObjects = true
|
|
|
|
|
|
|
|
# authentication hellscape
|
|
|
|
[credential "https://github.com"]
|
|
|
|
helper =
|
|
|
|
helper = !/usr/bin/gh auth git-credential
|
|
|
|
[credential "https://gist.github.com"]
|
|
|
|
helper =
|
|
|
|
helper = !/usr/bin/gh auth git-credential
|
|
|
|
[credential "https://gitlab.com"]
|
|
|
|
helper =
|
|
|
|
helper = !/usr/bin/glab auth git-credential
|
|
|
|
[credential "https://mau.dev"]
|
|
|
|
helper =
|
|
|
|
helper = !/usr/bin/glab auth git-credential
|
|
|
|
[credential "https://gitlab.alpinelinux.org"]
|
|
|
|
helper =
|
|
|
|
helper = !/usr/bin/glab auth git-credential
|
|
|
|
|
|
|
|
# sendemail stuff (https://go.recaptime.eu.org/sendgmail)
|
|
|
|
[sendemail]
|
|
|
|
smtpServer = /home/ajhalili2006/go/bin/sendgmail
|
|
|
|
smtpServerOption = -sender=ajhalili2006@gmail.com
|
|
|
|
|
|
|
|
# repo init chores
|
|
|
|
[init]
|
|
|
|
defaultBranch = main
|
|
|
|
|
|
|
|
# aliases
|
|
|
|
[url "git@git.sr.ht:"]
|
|
|
|
insteadOf = https://git.sh.rt
|
|
|
|
pushInsteadOf = https://git.sh.rt
|
|
|
|
# TODO: Set up aliases for ther Git hosts, like in Launchpad.net
|
|
|
|
|
|
|
|
# aliases
|
|
|
|
[alias]
|
|
|
|
#change-commits = "!f() { VAR=$1; OLD=$2; NEW=$3; shift 3; git filter-branch --env-filter \"if [[ \\\"$`echo $VAR`\> signoff = "commit --signoff"
|
|
|
|
ammend = "commit --amend"
|
|
|
|
#stage = "add"
|
|
|
|
unstage = "restore --staged"
|
|
|
|
stats = "status"
|
|
|
|
sdiff = !git diff && git submodule foreach 'git diff'
|
|
|
|
spush = push --recurse-submodules=on-demand
|
|
|
|
supdate = submodule update --remote --merge
|
2023-08-12 02:56:06 +00:00
|
|
|
skip-ci = push -o ci.skip -o skip-ci
|
2022-12-29 11:43:42 +00:00
|
|
|
root = rev-parse --show-toplevel
|
|
|
|
signoff-commit = commit --signoff
|
2022-12-29 11:58:33 +00:00
|
|
|
signoff = signoff-commit
|
2023-10-07 00:34:38 +00:00
|
|
|
remotes = remote -v
|
2023-08-12 02:56:06 +00:00
|
|
|
[filter "lfs"]
|
|
|
|
clean = git-lfs clean -- %f
|
|
|
|
smudge = git-lfs smudge -- %f
|
|
|
|
process = git-lfs filter-process
|
|
|
|
required = true
|
|
|
|
[core]
|
|
|
|
# editor = flatpak run re.sonny.Commit
|
|
|
|
|
2023-08-22 17:01:58 +00:00
|
|
|
# project-specific configurations
|
|
|
|
#[includeIf "gitdir/i:~/git-projects/sandbox"]
|
|
|
|
# path = ~/.config/git/ajhalili2006-experiments.include.gitconfig
|
|
|
|
#[includeIf "gitdir/i:~/projects/labs.andreijiroh.dev"]
|
|
|
|
# path = ~/.config/git/ajhalili2006-experiments.include.gitconfig
|
|
|
|
[includeIf "gitdir/i:~/git-projects/recaptime.dev/"]
|
|
|
|
path = ~/.config/git/recaptime-dev.include.gitconfig
|
|
|
|
[includeIf "gitdir/i:~/projects/recaptime.dev/"]
|
|
|
|
path = ~/.config/git/recaptime-dev.include.gitconfig
|
2023-10-07 00:34:38 +00:00
|
|
|
[includeIf "gitdir/i:/workspaces/recaptime.dev/"]
|
2023-09-04 15:42:24 +00:00
|
|
|
path = ~/.config/git/recaptime-dev.include.gitconfig
|
|
|
|
[includeIf "gitdir/i:~/projects/recaptime-dev/"]
|
|
|
|
path = ~/.config/git/recaptime-dev.include.gitconfig
|
2023-10-07 00:34:38 +00:00
|
|
|
[includeIf "gitdir/i:/workspaces/recaptime-dev/"]
|
|
|
|
path = ~/.config/git/recaptime-dev.include.gitconfig
|
|
|
|
[includeIf "gitdir/i:/workspaces/lorebooks.wiki/"]
|
|
|
|
path = ~/.config/git/recaptime-dev.include.gitconfig
|
|
|
|
[includeIf "gitdir/i:/workspaces/lorebooks-wiki/"]
|
2023-09-04 15:42:24 +00:00
|
|
|
path = ~/.config/git/recaptime-dev.include.gitconfig
|
2023-08-22 17:01:58 +00:00
|
|
|
#[includeIf "gitdir/i:~projects/"]
|
|
|
|
# path = ~/.config/git/ajhalili2006.include.gitconfig
|
2023-10-21 01:08:39 +00:00
|
|
|
[trailer "sign"]
|
|
|
|
key = "Signed-off-by: "
|
|
|
|
ifmissing = add
|
|
|
|
ifexists = doNothing
|
|
|
|
command = echo \"$(git config user.name) <$(git config user.email)>\"
|