After I issued
git push origin <branch-name>
and entered the access credentials, Git returned an error like so
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/<account-name>/<repository-name>.git'
What seems to be the problem?
The GitHub help page, "Error: Repository not found" summarizes the possible causes:
permission (which is what Monika refers to in the comments with "Cloned directly from repo…get error when pushing")
You might need to fork the repo, and, on your local repo, do a:
git remote rename origin upstream
git remote add origin https://[email protected]/YourUsername/YourFork
spelling: the name of the repo is case sensitive
non-existent repo
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With