Riya Kapuria
Riya Kapuria

Reputation: 9790

fatal: Could not read from remote repository error while git push

riya@RFL113:~$ git remote add origin_personal [email protected]:RiyaKapuria/testing.git riya@RFL113:~$ git push -u origin_personal masterERROR: Permission to RiyaKapuria/testing.git denied to railsfactory-riya. fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

I'm getting this error in GitHub

Upvotes: 0

Views: 5016

Answers (1)

Shashank
Shashank

Reputation: 407

First check that your are logged in or not

git config user.name

If you are logged in, try to add repository first

git remote add origin *your_repository_URL*

Upvotes: 1

Related Questions