How can I perform a `git pull` without re-entering my SSH password?

前端 未结 5 1131
挽巷
挽巷 2021-01-30 03:48

Is it possible to configure git/ssh so I don\'t have to enter my passphrase every time I want to perform a git pull? Note that the repo is a private

5条回答
  •  天涯浪人
    2021-01-30 04:24

    Try this:

    git config credential.helper store

    You'll have to enter your password once, after that it is stored in a folder inside root.

    As comments pointed out, This does NOT work for SSH passwords, only for HTTPS passwords.

提交回复
热议问题