Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 2

remote: Permission to XXX/.git denied to YYY. fatal: unable to access 'https://github.com/XXX//': Th

I think previously I used this command and entered my user and pass of the `YYY` user, but now I want to do it for another `XXX` user, but I get this error message:

remote: Permission to XXX/coursera-test.git denied to YYY.
fatal: unable to access 'https://github.com/XXX/coursera-test/': The requested URL returned error: 403

How can I enter a new username and password?
I use `WindowsPowerShell` on Windows 10.

1 Reply
Commander Lvl 3
Message 2 of 2

Re: remote: Permission to XXX/.git denied to YYY. fatal: unable to access 'https://github.com/XXX//'

Give SSH a try. It's better than using passwords. https://help.github.com/en/articles/connecting-to-github-with-ssh


- Mark