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 [email protected] 

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.

2
  • Check your origin is correct and what is shown on GitHub. Commented Nov 6, 2019 at 3:43
  • yep , its correct and showing all branches correct as well -_- Commented Nov 6, 2019 at 3:49

1 Answer 1

0

If your URL (git remote -v) is indeed [email protected]:/

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)

Sign up to request clarification or add additional context in comments.

1 Comment

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.