I created a GitHub account and then a repository named who-dare-wins. Then in command prompt I clone the by using git clone https://github.com/MidhuCherian/who-dare-wins.git
. After that I add the files using git add .
, then commit by using git commit -m "commit"
.Then I tried to push the code to remote repository by using git push -u origin master
,but it showing an error as follows:
remote: Permission to MidhuCherian/who-dare-wins.git denied to MidhuJames.
fatal: unable to access 'https://github.com/MidhuCherian/who-dare-wins.git/': The requested URL returned error: 403
How can I rectify my error?