“did you run git update-server-info” error on a Github repository

后端 未结 20 1548
别跟我提以往
别跟我提以往 2020-12-04 10:42

I\'m using the github Gui from their website to manage my repos, and I\'m getting the following error:

fatal: https://github.com/TeaCodie/TeaCodie-Website.gi         


        
相关标签:
20条回答
  • 2020-12-04 10:59

    My issue was that I used the clone https url widget provided by github. That URL doesn't work for private repositories as you need to add a username to the front of it.

    Example: a private repo owned by john and named widget with collaborator sam the correct url would be:

    https://sam@github.com/john/widget.git

    The github provided url:

    https://github.com/john/widget.git

    The error message leaves much to be desired.

    0 讨论(0)
  • 2020-12-04 11:01

    I got this issue when using GitStack. I looked into C:/GitStack/apache/logs/error.log and found that GitStack was looking for the repository in the wrong location although its settings said D:/Repositories (my custom location), GitStack looked for the repositories in its default location. So I simply went and save the settings again from GitStack admin page. It solved the problem.

    0 讨论(0)
  • 2020-12-04 11:02

    It looks like that's a private (or deleted) repository; if you visit the repository page while logged it'll give you the real URL, which'll probably be https://TeaCodie@github.com/TeaCodie/TeaCodie-Website.git , i.e. with a username specified?

    0 讨论(0)
  • 2020-12-04 11:02

    Also make sure the repo you've entered is cased correctly (it's case sensitive).

    0 讨论(0)
  • 2020-12-04 11:03

    Make sure that your user account is added to the repository as a collaborator.

    Setting --> Collaborators

    0 讨论(0)
  • 2020-12-04 11:07

    I received this same error when I attempted to git clone something from Kiln what was actually a Mercurial repository.

    0 讨论(0)
提交回复
热议问题