I have a self-hosted Gitea organization, and the way to access the repos requires some "secret" extraheader
in .gitconfig. (2FA is also enabled)
When I look at Jenkins "Configure System" settings, under the "Git plugin" section, it seems that the only .gitconfig options I can change through the UI are "user.name" and "user.email".
Is there any way I can change extra .gitconfig settings, such as adding http.[url].extraheader
, or a way to run git config --global
commands, before a git clone
or git pull
is performed?