A different Git email per folder on Windows (includeIf)
One includeIf block gives every repo in a folder its own Git email. Here is the exact setup, and the six ways it quietly stops working on Windows.
One includeIf block gives every repo in a folder its own Git email. Here is the exact setup, and the six ways it quietly stops working on Windows.
A one-minute check of every account a folder uses, a Git hook that stops a push with the wrong email, and how to fix commits that are not pushed yet.
Git Credential Manager, gh and SSH keys each pick a GitHub account in a different way. Here is how each one works on Windows and how to make it follow the folder.