Make committer email be configurable for groups or projects
Problem to solve
A not uncommon scenario might be that you have a single user account for both work and personal projects, that has all relevant email addresses (work/private). Commits to work projects should use work email, and private email for personal projects. Setting this correctly in Git is not hard with git config.
The problem is, using any Web UI related feature might use an incorrect email address. Web IDE, squash commits, edit file and more all use the Commit email address, which might not match preferred one in a project. This can be compounded by Push rules, where e.g. a work project might enforce a specific commit email to be used, leading to these features to be unusable.
Target audience
-
Delaney, Development Team Lead, https://design.gitlab.com/research/personas#persona-delaney
-
Sasha, Software Developer, https://design.gitlab.com/research/personas#persona-sasha
Further details
Changing the notification email for groups/projects seems kind of similar to this use case. It would be great to keep both in mind when designing how this feature should look.
Proposal
My suggestion is to add settings to change commit email both in the user settings and a quick setting on the project start page.
User settings
Add a section to user email settings, where they can set commit email for specific groups or projects. Any commits to specific projects or projects within that group will use the selected commit email.
Project/group settings
I don't think there is a section for user specific settings on projects currently, so I don't know exactly where this fits. The only setting I can think of is the notification setting, that is user specific. Changing commit email for the project could exist in a similar UI widget as notifications.

