I have two workspace directories (W1
& W2
) and I would like to default the git user email to email1
for all git repositories under W1
and email2
for all git repositories under W2
.
Is it possible to configure such setting where we can default the git config values for all repo under a certain directory?
This should apply to any newly created git repositories inside W1
and W2
as well without additional per-repository configuration.