set git password code example
Example 1: git save password
// for storing globally
git config --global credential.helper store
git push origin <your branch>
//for folder specific
git config credential.helper store
git push origin <your branch>
// after pushing once with password from next time it wont ask for password
Example 2: git save password for
git config --global credential.helper "cache --timeout=3600"