Initially my git was logged in to [email protected] Later I want to push my new code to repository to email [email protected]
Trying to push my android code on github.
All the steps are going fine. Now when last when I do this :
git push origin master
It shows :
remote: Permission to ****/******.git denied to [email protected].
fatal: unable to access 'https://github.com/*********/ScanFiles.git/': The requested URL returned error: 403
But when I do : git config --global user.email
It shows [email protected]
.
What is the problem?