Fehler der Schaffung eines repository:haben Sie run git update-server-info on the server?

Ich bin sehr neu in git. Ich wollte ein repository namens Common-Lib, unter der Befehle, die ich verwendet.

E:\My Doc\programming\git\Common-Lib>touch README

E:\My Doc\programming\git\Common-Lib>git init
Initialized empty Git repository in E:/My Doc/programming/git/Common-Lib/.git/

E:\My Doc\programming\git\Common-Lib>git add README

E:\My Doc\programming\git\Common-Lib>git commit -m "first commit"
[master (root-commit) 5e25a0d] first commit
 0 files changed
 create mode 100644 README

E:\My Doc\programming\git\Common-Lib>  git remote add origin https://github.com/fxbird/Common-Lib.git

E:\My Doc\programming\git\Common-Lib>git push -u origin master
fatal: https://github.com/fxbird/Common-Lib.git/info/refs not found: did you run git update-server-info on the server?

E:\My Doc\programming\git\Common-Lib>git update-server-info

E:\My Doc\programming\git\Common-Lib>git push -u origin master
fatal: https://github.com/fxbird/Common-Lib.git/info/refs not found: did you run git update-server-info on the server?

E:\My Doc\programming\git\Common-Lib>

Sogar nach der Ausführung git update-server-info es immer noch wirft den gleichen Fehler, warum ist das so? danke.

  • Dieser Fehler im Grunde bedeutet, dass das repository nicht auf dem server vorhanden ist. So überprüfen Sie Ihre GitHub-Profil, wenn es wirklich vorhanden ist, und beheben Sie alle Fehler in Rechtschreibung.
InformationsquelleAutor user1458290 | 2012-06-15
Schreibe einen Kommentar