I am trying to commit some changes from my local repository to my GitHub, but when I am trying to PUSH
the changes, I am getting this error:
remote: Permission to vivek/abc.git denied to vivekstudent.
fatal: unable to access 'https://github.com/viveksinghggits/bethere.git/': The requested URL returned error: 403
I believe I am getting this error because I am logged into my local git through another account. How can I reset the settings so that I can PUSH
the changes to the remote?
The answer that is tagged as possible duplicate doesnt actually addressed the problem that I am facing here, that question is about the protocol that is used to PUSH the changes but my issue is with the account I think.