3 ms·
Oh nice, this will remove an annoyance in my dotfiles repo by letting me share my gitconfig between 3 different configurations (home linux amd64 box, work macOS
by bloopernova 3y ago
Oh nice, this will remove an annoyance in my dotfiles repo by letting me share my gitconfig between 3 different configurations (home linux amd64 box, work macOS arm64, client macOS arm64)
Thank you for sharing it!
- nerdponx 3y agoI just have a "config-private" file that I include in my main config, but I ignore it in the dotfiles repo. Git will ignore any included file if it does not exist. That lets me customize things locally without checking work details into version control.
- bloopernova 3y agoThat's a neat way of doing it, I will do the same, thank you!
- klausa 3y agoWhat do you have in your git config that requires switching over host architecture?
- bloopernova 3y agoI put those there as a way to show I couldn't just switch on $ARCH or $OSTYPE similar. I should have explained that better, sorry about that.
- klausa 3y agoAh, gotcha. I thought you might have some weird, nice needs and was curious about it :)