Git still pops up the password box after executing git config-global credential.helper store

the company"s internal git server used to be normal. Today, reinstall the computer system, reinstall git, and then execute git config-global credential.helper store and enter the account password pull company code. The second pull still pops up the account password input box. There is a .git-credentials file under the user directory, which also records the account password, but it pops up when you operate git. If I try to cancel the pilot, I can still have normal pull or push. Obsessive-compulsive disorder ask, how to set not to pop up the account password input box?

Git
Mar.24,2021

  1. execute under GUI Bash: ssh-keygen-t rsa to generate public and private keys;
  2. View the contents of the public key: cat ~ / .ssh/id_rsa.pub , and copy it to SSH Settings of your Git account;
  3. remove remote connection branch information: git remote rm origin ;
  4. add remote branch connection information: git remote add origin git@gitee.com:xxx/xxx.git (copy remote branch information to Git , select SSH , do not select HTTPS )
    clipboard.png
  5. try git pull
Menu