the cockroach of gitconfig

after every OSX update, or Xcode update, or Xcode command line tools update you will be pestered to hell and back by the ghost of the osxkeychain credential helper dialog box.

% sudo nvim /Applications/Xcode.app/Contents/Developer/usr/share/git-core/gitconfig
% sudo nvim /Library/Developer/CommandLineTools/usr/share/git-core/gitconfig

from

[credential]
  helper = osxkeychain

to

# [credential]
#   helper = osxkeychain

for some reason this doesn’t get surfaced when running …

% git config --get-all --show-origin credential.helper

20241220 update

do not. i repeat, do not forget about /opt/etc/gitconfig which will make your life miserable in much the same manner.