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

前端 未结 1 557
感情败类
感情败类 2021-02-06 11:51

After I issued

git push origin 

and entered the access credentials, Git returned an error like so

remote: Re         


        
1条回答
  •  北海茫月
    2021-02-06 12:17

    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://YourUsername@github.com/YourUsername/YourFork
      
    • spelling: the name of the repo is case sensitive

    • non-existent repo

    0 讨论(0)
提交回复
热议问题