Git Clone - Repository not found

前端 未结 25 1270
心在旅途
心在旅途 2020-12-07 09:31
git clone 

gives the message fatal: repository \'url\' not found

I tried the options in the link, but it didn\'t work.

25条回答
  •  醉酒成梦
    2020-12-07 09:43

    If you are on Windows, the repository is private, and different or not longer correct credentials were saved once, you won't have access to the repo. You will get the not found error without hinting in the failed-credential-direction. In order to reset the credentials on Windows, open Control Panel (Win+r control), select User Accounts and Credentials Manager. Locate the git account in Windows credentials (not Web credentials!) and erase this entry.

    After that, cloning will pop up a login dialogue and you will be able to set these again.

    Tested this with git-bash as shell in VSCode

提交回复
热议问题