When I'm trying to push to GitHub, I get the following error:
remote: You must verify your email address.
remote: See https://github.com/settings/emails.
fatal: unable to access 'https://github.com/user/userRep.git/': The requested URL returned error: 403
I am absolutely sure that my email is already verified. I've tried to add remote url without .git, but it didn't help.
I faced the same error. I suspect it was due to incorrect credentials cached in git (previously I committed to a private repo using different credentials)
Solved by
git push https://username:[email protected]/user/userRep.git
After executing this command, git push
started to work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With