I previously used git bash for a local repository.
I connected to my GitHub account and I always made files without problems.
Later I will remove bash and set the new user and email address again. Now, when I try to push the file to the remote, I got an error:
Permission to SyedMiraj/SpringSecurityWithTicketBooking.git denied to biid-sua.
unable to access 'https://github.com/SyedMiraj/SpringSecurityWithTicketBooking.git/': The requested URL returned error: 403
I tried to create a new SSH key and add it to the remote repo.
But the problem still exists and, in truth, I can’t direct anything to my remote.
My two GitHub accounts are Bid Sua and Rejuvenation.
How would you suggest restoring GitHub?
source
share