I recently upgraded our gitlab instance from version 12.7.5 to Gitlab 15. All good after the upgrade, but after a couple of days I noticed that gitlab is changing the main git configuration files with his own content changing some settings that I need to have there.
I understand this is a scheduled process by gitlab related with housekeeping, but from my point of view Gitlab should not change those files.
It is always happening at the same time (12:00 UTC)
# Path where my config file is located $ pwd /var/opt/gitlab/git-data/repositories/@hashed/4a/44/4a44dc15364204a80fe80e9039455cc1608281820fe2b24f1e5233ade6af1dd5.git # Modification date of the file $ ls -lhart config -rw------- 1 git root 244 Aug 10 12:02 config
I need those config files to be pointing to a different git based service (not gitlab) as mirror, this is the usual config I have there:
[remote "origin"] url = ssh://my-git-mirror/repository-name.git fetch = +refs/heads/*:refs/remotes/origin/*
Does someone know how to disable this process? Or how to deal with this?