I created a new GitHub account and did a git push --setup-upstream origin
after I added my origin branch.
After deleting my old GitHub credentials under Credential Manager in Windows, it seemed to be working fine, was getting the GitHub-sign-in window from Visual Studio Code to sign in and used new account credentials.
Once I did git push
to push my project upstream, my GitHub now tells me my old account had pushed the project into my new account's branch...
How is that possible? I don't have any SSH or other tokens assigned from my old account so that is the confusing part.
I also can't seem to find a solution to "log out" or get rid of my old GitHub from upstreaming this to my new account. Is there something I am missing?