Help : Git push Error


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 ‘,’ (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.


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.


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