After the build, I copied the copy to the public key of the coding, and then modified the test code, but when the code is submitted to jump out please enter the user name and password, this is puzzled. There are two ways of git push, ssh and HTTPS. And the HTTPS way is different, specifically, is the URL information is different, the actual verification mechanism is also different. When this key is established, the use of SSH does not really need to be verified again, and HTTPS will need to enter a password each time. SSH is more secure and does not require a lot of hassle to enter long passwords.
Open and look at the. Git/config in the repo directory, and sure enough, find my URL is https mode.
[remote origin" ]< Span class= "indent" > URL = https:// Coding.net/xxx/xxxxx.git fetch = +refs/heads/*:refs/remotes/origin/* Puttykeyfile = X:\\TEST\\XXXX.PPK
The default clone down time is selected as HTTPS, resulting in the need to enter a user name and password each time. Modify the URL in the configuration file:
"origin"] url = git@coding. Net:xxx/xxxxx.git fetch = +refs/heads/*: refs/remotes/origin/* X :\\TEST\\XXXX.PPK
Resolving git push bypass Ssh-key authentication requires entering user information