Answered by : augusto-vicente
# local
git config credential.helper store
# global
git config --global credential.helper store
Source : | Last Update : Mon, 11 May 20
Answered by : poor-peccary-nvyakynn0ao7
git config user.name "your username"
git config user.password "your password"
Source : | Last Update : Sun, 29 Mar 20
Answered by : thankful-tarsier-83jwpauiyp0s
# this will store your credentials "forever"
git config --global credential.helper store
Source : | Last Update : Tue, 16 Jun 20
Answered by : outstanding-otter-wzsme7a3yclr
$ git config credential.helper store
$ git push http://example.com/repo.git
Username: <type your username>
Password: <type your password>
[several days later]
$ git push http://example.com/repo.git
[your credentials are used automatically]
Source : https://git-scm.com/docs/git-credential-store | Last Update : Mon, 09 Mar 20
Answered by : better-butterfly-3t09zcuezrae
git config --global credential.helper cache
Source : https://levelup.gitconnected.com/top-30-git-commands-you-should-know-to-master-git-cli-f04e041779bc | Last Update : Mon, 20 Dec 21
Answered by : shy-shrike-vbxae7d6m2t7
# This cache timeout is in seconds
$ git config --global credential.helper 'cache --timeout=3600'
Source : https://unix.stackexchange.com/questions/379272/storing-username-and-password-in-git | Last Update : Wed, 29 Apr 20
Answered by : xabos
#Git store credentials
// local
git config credential.helper store
// global
git config --global credential.helper store
Source : | Last Update : Wed, 14 Jul 21