Advanced
Let’s say you’ve just made a few small commits, and you want to make one larger commit out of them. link
Keep password cached in memory for timeout seconds (default 15min).
git config --global credential.helper cache
git config --global credential.helper "cache --timeout=3600"
Store credentials permanently (stored in clear text in a local file). the --global
states to use the %HOME%
directory instead of the project directory.
git config credential.helper store
Add user ans password on the remote url.
git remote set-url origin https://name:password@github.com/repo.git