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