search

Home  >  Q&A  >  body text

git http password-free login

The boss has not configured ssh. Now it is http. He needs to log in with his account and password every time. How to avoid this situation?

習慣沉默習慣沉默2771 days ago540

reply all(1)I'll reply

  • 阿神

    阿神2017-05-02 09:48:09

    You can cache your password, you only need to enter it once, and you don’t need to enter it in the future. The disadvantage is that the passwords are stored in clear text in the ~/.git-credential file.
    Git for linux

    git config --global credential.helper cache

    Git for windows

    git config --global credential.helper wincred

    reply
    0
  • Cancelreply