Note that there are some explanatory texts on larger screens.

plurals
  1. POGit pull suddenly stopped working, troubleshooting "Repository not found"
    primarykey
    data
    text
    <p>I have been using git to push my local code to a server. I have a local remote that is called "origin" and I have a remote on the server that's called "github". Typically, after committing, I use "git push origin master" to push the local code to github. Next I ssh into the server and use "git pull github master" to pull the github code onto the server. This has been working for a couple of weeks. However, yesterday when I went to pull code to my server from github, I got the following error:</p> <pre><code>python$ git pull github master ERROR: Repository not found. fatal: The remote end hung up unexpectedly </code></pre> <p>I went back to my local computer and tried a "git push origin master" and it worked fine. I also tried a "git pull origin master" and it also worked, so clearly the repo exists. So I decided there might be an issue with my remote on the server. I checked the remotes (using "git remote -v") and they match the remotes on my local computer exactly, with the exception of having different remote names. How else should I go about troubleshooting this?</p> <p><strong>EDIT</strong></p> <p>I know there probably isn't a simple solution to this. I'm fairly new to git and github though, so I'm wondering about the best ways to troubleshoot this. Should I try and destroy my git and run another git init? Are there any other suggestions about what might be the problem?</p> <p><strong>EDIT 2</strong></p> <p>So now there error has become:</p> <pre><code>python$ git pull github master Permission denied (publickey). fatal: The remote end hung up unexpectedly </code></pre> <p>I decided to try to initialize a git in another directory, add a new remote and do a pull from the new directory. I ended up with the same result. I'm guessing I can fix this by fixing my keys. My local git and keys are still working, could I possibly grab my keys from my local repo and put them on the server?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload