MacOS安装sourceTree 后提交代码拉取代码每次都会弹窗 Password required,如果尝试过其他博客文章内容都无效试试这个。
  • 首先打开终端进入提交代码根目录
  • 输入 git pull
  • 查看是否输出
    $ Enter passphrase for key '/user/xxx/home/.ssh/id_rsa':
  • 输入密码
  • $ssh-add -K ~/.ssh/id_rsa
  • 解决

参考:https://stackoverflow.com/questions/21095054/ssh-key-still-asking-for-password-and-passphrase

更多推荐