I work on a lot of machines and most of them are not mine. So, these machines are already set up with the ssh-key
to those guy's GitHub account. Now, I want to work on that machine and then push the code to my GitHub account. But when trying to do so I get a warning saying remote: Permission to mukul/repo.git denied to NewUser .
The requested URL returned error: 403
I know that I can set-up these machines with my GitHub account, but I guess that's not feasible (at least not ideal). I tried googling but it seems to filled with the posts answering the question of how to get rid of username and password thing i.e setting up ssh-key for smooth development experience.
But I want the GitHub to ask me for the username and password. As a quick fix, I tried to locally change the git config for that repo, but it doesn't seem to be working.