Company
Date Published
Author
Lindsey Bieda
Word count
212
Language
English
Hacker News points
None

Summary

GitHub now offers an additional method to protect users' email addresses when pushing commits via the command line by allowing them to configure an alternate “noreply” email address. This feature works by enabling options in the email settings to keep the email address private and block command line pushes that reveal the email. Users need to set their Git configuration to use their [email protected], ensuring commits remain linked to their accounts without affecting their contribution graph. Any attempts to push commits using an email other than the “noreply” address will be rejected. By default, new private emails have this privacy option enabled, and users can find more information on protecting their email in the GitHub Help documentation.