Store Your Password

Entering your password in your terminal application of choice after every push can become really frustrating, so why not save your password? Saving your password is really simple, even if you are on a Windows machine!

gif of the following directions

To store your password, enter the following in your terminal application:

  1. Enter, git config --global credential.helper wincred
  2. Perform an operation that normally requires you to enter your password, like git push. Then, enter your password when prompted, and you shouldn’t have to enter it again.

For more information about caching your password, review the GitHub Help documentation.

Stuck? Open an issue in the repository for this class and mention @githubteacher for help from one of the GitHub trainers!
Continue