18-Jan, 2025 - morning links, etc.
links, etc Oh Shit, Git!?! for future me.
links, etc Oh Shit, Git!?! for future me.
TIL: git supports conditional config for a situation that requires multiple github accounts. you need to be able to toggle a number of config elements to make life happy. git has support for conditional inclusion in the configuration files. if you structure your config and directory structures appropriately you can use the gitdir status to selectively include git configuration elements into the mix, allowing you to toggle between one profile and another....
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....
grrr, i keep forgetting the order of operations here … ...