logoalt Hacker News

6thbittoday at 4:20 PM2 repliesview on HN

I wish github could ammend the email of my commits to the private noreply address during push so they _never_ have any other email associated to them. May not be feasible due to the commit changing, confusing local branch and such?

They have this other thing where they reject pushes for the 'known' emails you've told them you have, but kinda seems there should be a setting to do that for any email that is not your noreply private one. is that a feasible thing to ask for?


Replies

cpercivatoday at 4:35 PM

If you change the email address, you change the commit hash. And yes, suddenly your local branches are orphaned.

Of course, there's nothing stopping you from using a git-only email address (nospam-6thbit@yourdomain) and routing that to /dev/null. GitHub can't change email addresses, but you can.

arcfourtoday at 5:10 PM

They literally have a setting to block pushes with any email other than the noreply one, lol.