Skip to content

Add functionality to change what email address online actions commit using

Add functionality to change what email address online actions commit using

Currently, when doing any action that involves making a commit in the repository (creating a file, resolving a merge, etc.) the commit is created using the "Primary Email" address of the account doing the action. However, typically I prefer not to expose my "Primary" email, and instead commit using a "Pseudonym" email. Ideally, some functionality can be implemented to allow for committing using a specified email.

GitHub implements this via their "Keep my email address private" setting.

Proposal

Functionality to change what email address online actions commit using.

Some possible ways this could be achieved:

  • Have a "Keep my address private" setting like GitHub, which creates all commits using a pseudonym email (for example, username@users.noreply.gitlab.com
  • A new configuration option on the Emails tab in Profile Settings that designates the email to commit using. For example: Committing email example

Links / references

~"feature proposal"

Edited by Ghost User