▲ | guthriej 3 months ago | |||||||||||||
Thank you for this! I have exactly the same problem and was waiting for the solution to present itself, which it now has. Aside: I use NixOS with home-manager (on linux and mac), which makes this trivial [1]. Added the following lines to my home-manager config:
[1]: https://nix-community.github.io/home-manager/options.xhtml#o... | ||||||||||||||
▲ | SpaceNugget 3 months ago | parent [-] | |||||||||||||
That certainly looks less trivial than writing it directly in your .gitconfig file. It's the same condition and setting as what's in the article, but now with a build/templating stage and a new programming language to learn with unusual syntax. | ||||||||||||||
|