Save Username and Password of Git Credentials in Storage

Linux


To prevent the git password prompt in each git pull request can be prevented by storing the password in the local disk. To keep the credentials on disk.

git config credential.helper store

To enable credentials storage globally, run:

git config --global credential.helper store

When credentials storage is enabled, the first time you pull or push from the remote Git repository, you will be asked for a username and password, and they will be saved in ~/.git-credentials file.


Comments

Popular posts from this blog

python-docx | docx | No module named 'exceptions'

Fixing TortoiseSVN icons overlay in Windows 10

MySQL 8 User creation and grant privileges