bug: git config --global --unset doesn't unset configs in corner case
- From
Mike Hommey <mh@glandium.org>
- Date
- May 9, 2024, 02:13 UTC
- Message-ID
- <20240509021352.se4u7ajaolveyyjf@glandium.org>
Hi,
When both ~/.gitconfig and ~/.config/git/config exist, git will read both. But when using `git config --global --unset`, it will only touch the first one. So unsetting config items from ~/.config/git/config is not possible from the command line when ~/.gitconfig exists.
Mike