Answers for "cache git password"

3

git credential cache

# Set credential cache to avoid typing password every time
# (Timeout time is in seconds i.e. 14 hours)
# For Ubuntu

git config credential.helper 'cache --timeout=50400'
Posted by: Guest on October-07-2020
0

git cache ssh password

simply add a single line AddKeysToAgent yes on the top of the .ssh/config file.
Ofcourse ssh-agent must be running beforehand.
If its not running ( check by the command ssh-agent on the terminal ) ,
then simply run it eval $(ssh-agent)
Posted by: Guest on October-15-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language