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

前端 未结 5 1178
挽巷
挽巷 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:18

    I enabled the password caching as described here:

    https://help.github.com/articles/caching-your-github-password-in-git/#platform-linux

    To cache the password for a month:

    git config --global credential.helper 'cache --timeout=2628000'
    

提交回复
热议问题