4 ms·
This is a nice trick. But if you: * use a dedicated work machine and * also want to version control your dotfiles (including ~/.config/git/) and * don't want
by computerfriend 2y ago
This is a nice trick. But if you:
* use a dedicated work machine and
* also want to version control your dotfiles (including ~/.config/git/) and
* don't want to leak your work repository organisation via your dotfiles,
you can instead add something like
[include]
path = work.gitconfig
which will override any settings above it and also fail gracefully/silently if work.gitconfig does not exist.
- redak 2y agoWhat would work.gitconfig include in this case?
- computerfriend 2y agoA work-specific email address and PGP key.