Git pull code hints authentication failure! !

1. Go git official website

https://git-scm.com/downloads

2. Download the version windos

3. After the download is complete, all the way to specify the installation directory Next.

4. After installation, open git bash, enter a command, all the way round.

ssh-keygen -t rsa -C '[email protected]' '[email protected]' account to log on gitlab

 5. Open the file generated secret key

6. id_rsa contents inside the file copy, visit the company gitlab server configuration to find ssh key position Settings.

 

Guess you like

Origin www.cnblogs.com/setout/p/11320383.html