Question

Possible Duplicate:
fatal: remote error: Could not find Repository octocat/myapp

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

i can clone it, but cannot push local repo to it, why?

[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

git init

Reinitialized existing Git repository in /home/mirror/tmp/php/.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

failed to push, but this repo exists, though it is empty...

[mirror@home php]$ git push origin
fatal: remote error: Repository not found 
Was it helpful?

Solution

try this:

cd prjname
git push origin
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top