git set default credentials code example
Example 1: git credentials
# this will store your credentials "forever"
git config --global credential.helper store
Example 2: save account to git
git config --global credential.helper store
# this will store your credentials "forever"
git config --global credential.helper store
git config --global credential.helper store