Persistent global gitconfig customisations

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Description

When upgrading an installation that uses global githooks or any other modification to the global gitconfig file, any such changes are overwritten with the gitlab defaults.

In our case we have some 20 global githooks that ties into a larger business system. Loosing the configuration each time we upgrade is a step that causes headaches as it's not intuitive and easy to forget.

Proposal

Provide a way to keep these modifications when upgrading gitlab or when performing any other action that would overwrite the contents of the global gitconfig file.

Links / references

None

~"feature proposal"

Edited Jun 15, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading