Error tip: Fatal:remote origin already exists.
WORKAROUND: $ git Remote RM origin
$ Git push origin master time
Error tip: error:failed to push som refs to
Workaround: $ Git pull Origin master//first pull the file from the remote server GitHub and push it up.
Could not read from remote repository//permissions issues
WORKAROUND: You need to upload files to the GitHub git system, need an SSH key to authenticate, and start generating keys and submitting keys.
Open git Bash and create SSH key:
1 ssh-keygen-c ' your@email.address '-t RSA
Then you have to enter the location of the SSH key, you can no matter, direct return to use the default path. Then enter the password you want, SSH key
is generated. Now you need to submit this key to GitHub, first open the key to save the location, there will be three files, find
Id_rsa.pub, open with a text editor, and copy all the characters inside. To GitHub, find account in the upper right toolbar.
Settings. There is an SSH public keys tab on this page and select Add another public key. Title can be casually
Fill in one, key to paste just the characters, submit.
Once you've done this, you can upload your own code.
If you want to return to the previous submission
First of all
git log//Find the version number to be returned
Roll back to the specified version
git reset--hard e377f60e28c8b84158
Force commit
Git push-f Origin Master
Complete