git config

Git comes with this handy tool that let’s you manage your Git configuration with ease. Configuration Levels --local (Default) Local configuration values are stored and managed at the repository level. The values are stored in a file found in the repo’s .git directory: .git/config If you are planning to set some configuration only to be used by the specific repo you are in, then go ahead with using --local....

2020-05-02 · 3 min · Sayan Chowdhury

Git Password Caching

Bookmark for me. To use this option, you need to turn on the credential helper so that Git will save your password in memory for some time: $ git config --global credential.helper cache # Set git to use the credential memory cache By default Git will cache your password for 15 minutes. You can change this if you like. git config --global credential.helper 'cache --timeout=3600' # Set the cache to timeout after 1 hour (setting is in seconds) Ref: https://help....

2014-06-10 · 1 min · Sayan Chowdhury

Git Password Caching

Bookmark for me. To use this option, you need to turn on the credential helper so that Git will save your password in memory for some time: $ git config --global credential.helper cache # Set git to use the credential memory cache By default Git will cache your password for 15 minutes. You can change this if you like. git config --global credential.helper 'cache --timeout=3600' # Set the cache to timeout after 1 hour (setting is in seconds) Ref: https://help....

2014-06-10 · 1 min · Sayan Chowdhury