0

可能重复:
致命:远程错误:找不到存储库 octocat/myapp

https://code.google.com/p/prjname/ is a empty repo right now

我可以克隆它,但不能将本地仓库推送到它,为什么?

[mirror@home php]$ git clone https://code.google.com/p/prjname/
Cloning into 'prjname'...
warning: You appear to have cloned an empty repository.
[mirror@home php]$ rm prjname/ -rf

混帐初始化

重新初始化 /home/mirror/tmp/php/.git/ 中的现有 Git 存储库

[mirror@home php]$ git remote -v
[mirror@home php]$ git remote add origin https://code.google.com/p/prjname/
[mirror@home php]$ git push origin
fatal: remote error: Repository not found
[mirror@home php]$ git push -u origin
fatal: remote error: Repository not found
[mirror@home php]$ https://code.google.com/p/prjname/

[mirror@home php]$ ls
conf.inc.php  demo  docs  lang  lib  logs  prjname  sdk.class.php  services  util

推送失败,但是这个 repo 存在,虽然它是空的......

[mirror@home php]$ git push origin
fatal: remote error: Repository not found 
4

1 回答 1

0

试试这个:

cd prjname
git push origin
于 2012-09-06T07:52:03.120 回答