I have two GitHub accounts, one for professional use, and one for personal. I have created different Personal Access Tokens for each one.
I have repos at different locations on my hard drive, ex:
I am finding that, if I go to “C:\professional\repo-dir” and enter the command “git push origin master”, I am seeing the update I expect in my professional github account, but the update was performed by my personal account.
My questions are:
- What could be causing this behavior?
- What do I need to do to ensure that each action is performed by the correct user?