I can clone the code from git server, but I can not push my code.
I prepare to push the code.
First, I execute the command git add
, it's OK;
Second, I execute the command git commit
, it's OK;
Third,I execute the command git push
, the screen prints the information
fatal:upload denied for project '------'
fatal:could not read from remote repository
please make sure you have the correct access rights.
Addition, there is no file "know_hosts" in the folder ".ssh".
How can I resolve the question?
Thanks very much!