1.Git
https://git-for-windows.github.io/
2. Install after download is complete
Self-Baidu
3. Configure the SSH key for GitHub:
1) Open Git bash to see if an SSH key already exists on your computer;
Input CD ~/.ssh
To create a new SSH key if the file cannot be found;
2) Create a new SSH key:
Enter Ssh-keygen-t rsa-c "[Email protected]"
Execute this command to prompt the file to save the path, you can press ENTER directly,
Then prompt input passphrase (password), enter two times (can not lose directly two times enter)
Production of two files in. ssh directory: Id_rsa and Id_rsa.pub
Use Notepad to open the. SSH directory under the id_rsa.pub file, copy the contents;
4. Copy ssh key to GitHub:
5. Test SSH link GitHub:
Input ssh-t [email protected]
appear successfully, complete.
6. Configure Local Information:
git config--global user.name "Firstname Lastname"
git config--global user.email "[Email protected]"
You can enter git config--list to view your git information.
Git installation and basic settings (Windows)