Ruoyu Zhong f76442837a
package/scripts/postinstall: avoid writing to ~/.gitconfig
In this attempt we pretend that the "global" configs are in the
repository itself.

    $ XDG_CONFIG_HOME= HOME=$PWD git config --global section.key value
    $ XDG_CONFIG_HOME= HOME=$PWD git config --global section.key
    value
    $ git config --global section.key
    $ cat $PWD/.gitconfig
    [section]
      key = value
2024-04-11 04:15:59 +08:00
..