setting up git credentials code example
Example 1: add credentials to git
git config user.name "your username"
git config user.password "your password"
Example 2: git credentials
# this will store your credentials "forever"
git config --global credential.helper store
Example 3: save account to git
git config --global credential.helper store
Example 4: add credentials git linux
# This cache timeout is in seconds
$ git config --global credential.helper 'cache --timeout=3600'
Example 5: how to store git credentials
git config --global credential.helper store