Git enter long passphrase for every push

后端 未结 3 749
傲寒
傲寒 2020-12-07 13:37

Every time I try to push anything to GitHub it asks me the address git@github.com:... and after that it wants the passphrase. Is there a way to automate this?

3条回答
  •  一整个雨季
    2020-12-07 14:28

    It is because you are using HTTPS (something like https://github.com/felipelalli/private.git) instead SSH (something like git@github.com:felipelalli/private.git).

    If need to clone the SSH and then authorize your machine following theses steps: https://help.github.com/articles/generating-ssh-keys

提交回复
热议问题