-
Enter it on the host
ssh-keygen
and press Enter. The id_rsa.pub file will be generated in the ~/.ssh folder. -
In the gitlab settings, select SSH Keys, find the Key column, and copy and paste the contents of the id_rsa.pub file generated by the machine into the Key column.
-
Select the ssh protocol the next time you git clone
Use ssh git clone to implement password-free git clone, push, and pull
Guess you like
Origin blog.csdn.net/zmhzmhzm/article/details/128792705
Ranking