git credentials windows code example
Example 1: git store credentials
// local
git config credential.helper store
// global
git config --global credential.helper store
Example 2: create permanent git credentials windows
$ git config --global credential.helper wincred
Example 3: create permanent git credentials windows
git remote set-url origin [email protected]:username/repo.git
Example 4: create permanent git credentials windows
git config --global credential.helper 'cache --timeout=600'