Allow configure .gitconfig #255
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently the
.gitconfigon rootless image isn't persisted, so we can't add any new settings, like this:Also the image is curtrently based on alpine v3.13, because of some docker trouble. That Version only has git v2.30.2, so we can't use the new git environment variables.
A workaround to persist the config is to mount
/data/gitto/var/lib/gitea/gitThis is now supported since Gitea 1.20 (https://blog.gitea.com/release-of-1.20.0/#-configure-git-through-your-appini-24860). Given the many options that could be set, I'd argue it's best to do it via env vars (in
deployment.env) and to not add a dedicated section tovalues.yaml.