Avoid to typing username and password during Git push or pull every time

# setup git credential cache


git config credential.helper store
git config --global credential.helper 'cache --timeout 7200'

# After enabling credential caching, it will be cached for 7200 seconds (2 hours).

Comments

Popular posts from this blog

梅林380固件支持vless,xray,trojan, trojan go

Setup OpenVPN client auto connects to remote server after reboot in AC3100, AC88U Merlin system

An efficient way to transpose a file in Bash