Solve the problem of Git repeatedly entering username and password

Solve the problem of Git repeatedly entering username and password

Every time you submit the local code to the remote, you will always be asked to enter the account number and password, and the
account password will be recorded for a long time.

git config --global credential.helper store
长期记录账号密码

Remember the password for 30 minutes by default

git config –global credential.helper cache
默认记住密码30分钟

Guess you like

Origin blog.csdn.net/m0_46374969/article/details/121575117