git push is can only push into an existing repository, there seems to
be no repository in /tmp/foo on machine.fr.
This means: "clone the repository at . to the directory
ssh://machine.fr/tmp/foo". The first parameter is the repository to
clone from, the second is the directory to put the clone into (this is
optional).
I don't think there is any way to 'clone to remote'. You'd have to
ssh to the other machine and clone from there, or you can just create
an empty repository on the remote host and push the stuff into it.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html