git push

The first sentence error:
fatal: Remote Origin already EXISTS.
Remote origin already exists.

The second sentence error:
[email protected]: Permission denied (publickey).
Fatal: Could not the Read from Remote Repository. Br /> [email protected]: Permission denied (publickey).
Fatal: Unable to read from a remote repository.

The third sentence error:
Please correct the make the Sure you have have at The Access Rights
and at The Repository EXISTS.
Make sure you have the correct access permissions
and stored in inventory.

Translated may know that I have no authority during the upload process so was rejected, after the later of git some understanding that I seem to do less one of the more important step is to set up a SSH KEY, that is the secret key, (for security reasons, Github and our local server using SSH Key communication requirements to verify). This time a key is just set on the line.

Solution
to enter the SSH and GPG keys from the home page click on Settings github
git push
git push
git push
git push
enter the command: ssh-keygen -t rsa -C " [email protected]"
then they have been hit Enter, there y / n time as possible to translate sentences and I following y / n if the file is already covered by the project creators have meaning.
Then, after hitting Enter the code you can see a small picture, it shows a success.
Next, enter the command: cat ~ / .ssh / id_rsa.pub
this time he will pop your key. This time copy and paste directly to the GitHub just above the key SSH key set and then save it.
git push
Github after the above key is created can execute git push --set-upstream origin master of this instruction.
git push
# # Why use git push
git push -u origin master the above command will push the local master branch to the origin host, specifying the origin as the default host, it can back without any parameters using the git push.

git push, push default only the current branch, which is called simple way. In addition, there is a matching way, will have to push all of the local branch of the corresponding remote branch. Prior to Git version 2.0, defaults to matching method, is now default to simple.

Guess you like

Origin blog.51cto.com/11585002/2451061