git asking for password every time
# it will ask just one more time
git config --global credential.helper store
git asking for password every time
# it will ask just one more time
git config --global credential.helper store
how to stop git asking for username and password
// For permanently stop git from asking credentials
$ git config credential.helper store
$ git push https://github.com/repo.git
Username for 'https://github.com': <USERNAME>
Password for 'https://[email protected]': <PASSWORD>
// User can also specify caching expire
$ git config --global credential.helper 'cache --timeout 7200'
// After enabling credential caching, it will be cached for 7200 seconds (2 hours).
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us