Git Clone - Repository not found

前端 未结 25 1289
心在旅途
心在旅途 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:50

    What solved my problem, since I was having a "redirect/sign_in URL" or "repository not found" error

    MacOS Users:

    1. Open spotlight (Command Space)
    2. Type keychain (Open keychain access.app)
    3. Search for repo domain (GitHub, GitLab, etc)
    4. Delete all keys related to this domain
    5. Try to clone again (with valid credentials)

    Windows users should try similar steps, but Keychain would be Microsoft's Credentials Manager instead or Windows Credentials depending on yours OS version. Make sure to clean both web and windows credentials if that's the case.

提交回复
热议问题