create permanent git credentials windows code example
Example 1: git credential save
$ git config credential.helper store
$ git push http://example.com/repo.git
Username: <type your username>
Password: <type your password>
[several days later]
$ git push http://example.com/repo.git
[your credentials are used automatically]
Example 2: create permanent git credentials windows
$ git config --global credential.helper wincred
Example 3: create permanent git credentials windows
git config --global credential.helper store
Example 4: create permanent git credentials windows
git remote set-url origin [email protected]:username/repo.git
Example 5: create permanent git credentials windows
git config --global credential.helper 'cache --timeout=600'