Open GitHub: https://github.com/
Register an account
If you have already registered, you can click sign in to log in directly
Create project:
Just click on a new repository in the above picture to create a project:
generate sshkey
To submit or download code on GitHub, you need to pass verification. In order to avoid repeatedly entering passwords, you can use public and private keys for communication. GitHub uses RSA algorithm and uses a pair of public and private keys. Therefore, you need to produce keys locally and upload the public key to GitHub.
Sshkey is generated by default in C:\Users\Tisson(your hostname)\.ssh
If it has already been generated, it does not need to be generated again
Open git base anywhere
Input: ssh-keygen -t rsa -C "[email protected]"
The last one is the mailbox, it is best to write the real one. Then press 3 Enter to generate the sshkey. If the prompt command cannot be executed, there is a problem with your git. Reinstall and try again.
Copy the public key to GitHub
Click: