Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git push error "You must verify your email address."

Tags:

github

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.

like image 356
Johan Kuegelmacher Avatar asked Nov 17 '16 16:11

Johan Kuegelmacher


Video Answer


1 Answers

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.

like image 139
Fyodor Avatar answered Sep 23 '22 07:09

Fyodor