Help : Git push Error


#1

Hi Ive cloned my github project. and ive added one file test.php.
After ive make the commit, i make push origin master and I get this :

Warning: Permanently added ‘github.com,192.30.252.122’ (RSA) to the list of known hosts.
ERROR: Permission to salimbenfarhat/traceurgps.git denied to sbenfarhat.
fatal: Could not read from remote repository.

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


#2

It looks like you are trying to connect to GitHub with the user sbenfarhat. This user, as shown in the error message, does not have permission to the salimbenfarhat/traceurgps.git repository.

An administrator of the salimbenfarhat/traceurgps.git repository needs to give the user sbenfarhat read access, or you should connect to GitHub using the salimbenfarhat user.


#3

thank you, i’ve found the problem. Ive connected on c9.io my two accounts github “sbenfarhat” and “salimbenfarhat”. And finally ive remove the OAuth autentification on sbenfarhat account github and now its works.