Git push requires username and password

前端 未结 24 2092
灰色年华
灰色年华 2020-11-22 04:14

I cloned a Git repository from my GitHub account to my PC.

I want to work with both my PC and laptop, but with one GitHub account.

When I try to push to or p

24条回答
  •  鱼传尺愫
    2020-11-22 04:34

    You can cache your GitHub password in Git:

    Just follow the instructions from GitHub's official documentation.

    After following the instructions from the above link, you should be able to push/pull to/from your repository without typing your username/password every time.

提交回复
热议问题