fatal: NullReferenceException encountered when interacting with remote

前端 未结 3 1438
不知归路
不知归路 2021-02-04 23:47

This is new machine with fresh install of Git.

> git --version
git version 2.19.1.windows.1

I cloned repo using https. Every time when I try

3条回答
  •  Happy的楠姐
    2021-02-05 00:30

    One of the reasons for this could be password changes for git(and other similar version control systems).

    I can recommend a couple of solutions

    1. As mentioned by @mpro, you will be asking to use the credentials stored on the windows credential manager. You would like to update your password accordingly there.

      The way you can reach that point is(in WIN 10): Start -> Control Panel -> Control Panel -> Credential Manager

    2. On the contrary you can ask git to use credentials from its cache by using the following command

      git config --global credential.helper cache

      By doing this, git will prompt for the username and password at each interaction with the remote origin.

    Hope this helps!

提交回复
热议问题