Reputation: 13847
My project in github has been moved to another github account. I've added new origin and git repo in my current project. But when I push my new changes to new github repo, I've found following error message. Please let me know how to fix it.
remote: Repository not found.
fatal: repository 'https://github.com/MyDevelopment/project.mm.git/' not found
But I call like git remote -v
return following accurate results:
origin https://github.com/MyDevelopment/project.mm.git (fetch)
origin https://github.com/MyDevelopment/project.mm.git (push)
Upvotes: 2
Views: 10734
Reputation: 2490
Reset the url using this
git remote set-url origin git://new.url.here
It normally causes for the following reasons.
Check the details here
Upvotes: 0
Reputation: 1329890
Double-check the URL (it is case-sensitive)
But also double-check if you have a credential helper that would have cached your (old account) credentials (username/password) used to authentication you.
git config credential.helper
For instance, on Windows, that would be the Windows Credential Managers.
Upvotes: 1