1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-09 09:24:25 +00:00
wxiaoguang e709cc76da
Make Gitea always use its internal config, ignore /etc/gitconfig (#33076)
In history, Gitea could use the system config `/etc/gitconfig` because
some users said that "they might put certNonceSeed in it"

Actually, we shouldn't not use it, because it also causes conflicts
(there are already some fixes like #28848)

To make the system clear, I think it's worth to introduce the breaking
change: add `GIT_CONFIG_NOSYSTEM=1` to all git commands.


## ⚠️ BREAKING ⚠️

 For most users, nothing need to do.

If you have made changes to `/etc/gitconfig` to affect Gitea's behavior,
you need to move these config options to Gitea's internal git config
file, it is usually in Gitea's `{AppDataPath}/home/.git` directory.
2025-01-02 20:26:48 +00:00
..
2024-12-29 01:05:56 +00:00
2024-12-29 01:05:56 +00:00
2024-06-11 18:47:45 +00:00
2024-12-30 14:35:46 -08:00
2024-12-29 01:05:56 +00:00
2023-12-25 21:25:29 +01:00
2024-12-30 01:57:38 +00:00
2024-12-30 14:35:46 -08:00
2024-12-30 14:35:46 -08:00