Step 1: To use GitHub The first step is to register a GitHub account. After that, you can create a repository (free users can only create a public repository), create a new repository, fill in the name and create, and then some repository configuration information will appear, which is also a simple tutorial of git. Website: https://github.com
Step 2: Install the git version control tool first, and then install, install it directly in the next step! Download Address:Tourists, if you want to see the hidden content of this post, please Reply
Step 3:
Let's first find a place to store the local repository on the computer's hard drive, for example, we set up the local repository under the C:\project\MyProjects\AutoIndexNetScript folder
Go to the AutoIndexNetScript folder and right-click the operation as follows:
1) Right-click on Git Init Here in the local repository, and an additional .git folder will appear, which means that the local git has been successfully created. Right-click Git Bash to enter the git command line.
Execution:
behindyour_email@youremail.comYour email address instead. My email ishelp@itsvse.com, which is also the email address registered on github:
Click Enter directly to explain that the ssh key will be generated on the default file id_rsa.
Then the system asks you to enter a password, and directly press enter to indicate that there is no password
When the password is repeated, it is also directly entered, and then it prompts you that the shh key has been successfully generated.
Then we go to the prompted address under the address to view the ssh key file. The address of my computer is C:\Users\itsvse\.ssh, where itsvse is the name of my computer
Open id_rsa.pub and copy the key inside. The key inside is a pair of incomprehensible characters and numbers, don't worry about it, just copy it.
Go back to the github website, go to Account Settings, select SSH Keys on the left, Add SSH Key,
Or go directly to: https://github.com/settings/keys
Fill in the title and paste the key.
2) Verify that it is successful, enter it under git bash
Enter will see: You've successfully authenticated, but GitHub does not provide shell access. This means that you have successfully connected to github.
$ ssh -Tgit@github.com The authenticity of host 'github.com (192.30.253.113)' can't be established. RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8. Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.253.113' (RSA) to the list of know n hosts. Hi itsvse! You've successfully authenticated, but GitHub does not provide shell access.
|