Default git identity on new VMs
To override git's defaults on new VMs, you can set exe-level defaults.
$ ssh exe.dev defaults write dev.exe new.git-name "'Ada Lovelace'"
$ ssh exe.dev defaults write dev.exe new.git-email ada@example.com
Values must fit on one line and must not contain < or >.
Read/delete:
$ ssh exe.dev defaults read dev.exe new.git-email
$ ssh exe.dev defaults delete dev.exe new.git-email
How it is applied
When a VM is created, exe.dev writes the identity to /exe.dev/gitconfig.
The exeuntu image's /etc/gitconfig includes that file. Because it is
system-level configuration, anything you set with git config --global,
or in a repository, takes precedence.
To change an existing VM's identity, use git config --global.
Don't edit /exe.dev/gitconfig; changes there might get overwritten.
Non-exeuntu images get the file too but ignore it unless their own
/etc/gitconfig includes it:
git config --system include.path /exe.dev/gitconfig