Cannot push these commits as they contain an email address marked as private on GitHub
Cannot push these commits as they contain an email address marked as private on GitHub
Go to settings -> emails and disable Keep my email address private.
The other answers are fine for future commits, but dont help for prior commits that contain a public email address. If you want to keep your email private, then you should modify the prior commits instead of changing your settings. Use git cmd, like:
git commit --amend --author=ericraider33 <[email protected]>
And fill in with auto-generated email address that GitHub provides to each user.
Cannot push these commits as they contain an email address marked as private on GitHub
I ran into this problem too. It is an easy fix in Github Desktop by going to File -> Options -> Git and clear the Username and Email fields and save it. Then if you are logged in to GitHub it will fill them in with correct information.
Related posts
- python – How to download and write a file from Github using Requests
- python – How to state in requirements.txt a direct github source
- python – How to download and write a file from Github using Requests
- python – How to state in requirements.txt a direct github source
- How can i upload a Spring Java project to GitHub so i can show my work?
- Example of using github API from javascript
- performance – Should Github be used as a CDN for javascript libraries?