1, download and install git, the official website: https://git-scm.com/download/win install the default configuration installation
git2.20 version addresses Baidu network disk address:
Link: https: //pan.baidu.com/s/16HAgKWL2-XigyRTaLJZlDA&shfl=sharepset
extraction code: 5lxe
2, idea set git: setting -> git -> the selection list git installation -> git.exe bin directory file
3, the configuration of the present computer git key:
Git commands into the interface number:
//命令集合
1 git config --global user.name "levi" 2 git config --global user.email "[email protected]" 3 cd d: 4 cd gitRep/ 5 git init 6 ssh-keygen -t rsa 7 cat ~/.ssh/id_rsa.pub 8 history
Set the user name, e-mail, you need to establish a D drive between gitrep file to store user information :
View keys
Save the above keys, log on GitHub, enter the settings
Add a new ssh KEY
Into the idea
Successfully clone the code locally.