How do I provide a username and password when running “git clone git@remote.git”?

后端 未结 10 2082
有刺的猬
有刺的猬 2020-11-22 07:00

I know how to provide a username and password to an HTTPS request like this:

git clone https://username:password@remote

But I\'d like to kn

10条回答
  •  既然无缘
    2020-11-22 07:29

    On Windows, the following steps should re-trigger the GitHub login window when git cloneing:

    • Search start menu for "Credential Manager"
    • Select "Windows Credentials"
    • Delete any credentials related to Git or GitHub

提交回复
热议问题