I transferred the ownership of a private repository to a different github-account. The repository is still private. When I try to push changes from the local repo to the new remote repository it gives me fatal: repository 'url' not found
error. I already changed the url, the user name and user email. What can I do do solve this problem?
Asked
Active
Viewed 630 times
1

Johannes Wiesner
- 1,006
- 12
- 33
-
1Where did you change the url? `git remove -v` in your local repository shows your the remote locations configured. – Pascal Wittmann Mar 15 '19 at 13:46
-
1@PascalWittmann probably mean `remote`, not `remove`? – camille Jun 26 '19 at 16:24
-
@camille Oh, of course. Thanks for pointing this out. – Pascal Wittmann Jun 28 '19 at 17:50
1 Answers
1
I solved the problem by deleting my GitHub related Credentials in Windows Credential Manager. See this link for further information. After deleting the credentials and running git push
I hat to re-enter my password and everything worked fine again.

Johannes Wiesner
- 1,006
- 12
- 33