Previously set once, and then forget, today after the password to find the command line clone to verify the identity failure, reset the public key, record
1. Because the public key was previously set, the git command can be executed without entering a username password. Now that the password has changed, cancel the public key, the simplest is to delete the public key directly, the execution of the GIT command will be re-popup User name Password dialog box. Or use git config--global user.email "email" to reset the mailbox, as well as the use of the command line to re-pop the user name Password dialog box
2. Now, I want to generate a public key with a new username password. Very simple, open the GIT installation location, find Git-bash.exe, double-click to open
3. Enter Ssh-keygen carriage return
4. Do not change the path, continue to enter, because I have generated a public key file before, so you need to override the overwrite
5. Now enter your password, lose the password will not be prompted, rest assured that the good. Enter the password two times, go to the following path to find this file
6. Copy the contents of this file to the location where you set up SSH keys
7. This will not always need to enter the user name password ~ ~ ~
GIT generates a public key using the command line without entering the username password (Windows)