Git: Any way to set default login credentials?

前端 未结 5 1263
情书的邮戳
情书的邮戳 2021-02-05 23:16

I\'m using terminal for mac and running the line

git push origin master

It asks me for my github.com username and password every time,
is t

5条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-05 23:25

    setup your API token as well as your SSH credential (password less though preferably with password with an agent)

    The link provided in other answer provides instructions for this as well. Specifically look for step 2 at the bottom.

提交回复
热议问题