I have two GitHub usernames (one personal, one related to my job), and both have different, mutually exclusive private repos associated with them.
This causes problems every time I want to, for example, switch from executing commands on a personal private repo to a work-related private repo (or vice versa). When I try to do this, I always get permission-denied errors in the Windows Git terminal.
To provide a quick example, if I tried to execute a git pull
as the "wrong user", I get the following error:
remote: Repository not found.
What do I need to do to avoid these permission-denied errors? I simply want to be able to perform a bunch of commands on one repo and then essentially switch to another GitHub user in the Windows Git terminal so that I can freely execute commands on a different private repo as a different user.
Thanks.