2

My server was working fine until yesterday it was pulling fine. today I run the command

>> git pull origin <branch>

I get a response: remote: Repository not found. I run command

>> ssh -T git@github.com

I get response: Hi! You've successfully authenticated, but GitHub does not provide shell access.

>> I added ssh to my use and it has read and write ability

I even added config file like in here

https://help.github.com/en/github/authenticating-to-github/using-ssh-over-the-https-port

still not working, and it'd be a mess if I create a new repo.

any ideas? is there something wrong with GitHub? why this might happen.

Dinidu Hewage
  • 2,169
  • 6
  • 40
  • 51
Mohamed Gabr
  • 716
  • 6
  • 18

1 Answers1

0

If your URL (git remote -v) is indeed git@github.com:/

If not, check the case of the URL (it is case sensitive).

And try an HTTPS URL just for testing:

git ls-remote https://github.com/<you>/<yourRepo>

That will ask for your credentials (GitHub username/password)

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • i did that, it helped a lot thanks, but figured out that my github account was revoked from permissions for that repo, so i had to reconfigure it. btw where do you find those commands – Mohamed Gabr Nov 06 '19 at 23:02