Solve the problem that you need to enter the account number and password of the code warehouse every time you pull and push the code

Step 1: First check whether the account number and password in the credential management are the same as those in the code base

Control Panel------"User Account-------"Credential Manager-------"Manage Window Credentials-------"Common Credentials-----" Corresponding GIt----"edit password

 Find your corresponding code repository

 

If there is no problem with the first item; go to the second step:

Step 2: Open the pushed code directory in code and open the terminal to enter the following code, which is the --" black box "--

git config --global credential.helper store

Restart the code after entering it. Generally speaking, after the first push after restarting, you need to fill in the account password again, and then you don’t need it.

Guess you like

Origin blog.csdn.net/weixin_46900256/article/details/131100447
Recommended