Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the Git error "remote: Repository not found." mean?

Tags:

github

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?

like image 616
Abel Callejo Avatar asked Nov 14 '13 06:11

Abel Callejo


1 Answers

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

like image 52
VonC Avatar answered Jan 04 '23 05:01

VonC