Git

Last Updated: 9/20/2023

Storing Credentials

  • You can store your git credentials in memory or on disk and tell git where to find it. All we have to do is to set a configuration value.
  • You can store our credentials in memory or on disk and tell git where to find it. You can configure this.

cache

  • If we set it to cache, it will store our credentials for 15 minutes in memory.
git config --global credential.helper cache

mac OS

  • To store permanently in disk
git config --global credential.helper osxkeychain

windows

  • To store permanently in disk
  • Refer github.com/microsoft/git-credential-manger-for-windows