Reputation: 9790
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
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