On Mon, 1 Jul 2013 08:57:57 -0700 (PDT)
Dennis Chang <dennisach...@gmail.com> wrote:

> Dropbox files is located /opt/Dropbox. Repos are
> located /opt/Dropbox/repos. I've created a soft-link from /repos
> to /opt/Dropbox/repos.
> However, it seems the soft link, i.e. /repos, won't allow me to write
> to the bare repository.
> The error I receive is:
> ~/Documents/workspace/test-git:11:35$ git push origin master
> fatal: '/repos/someproj.git' does not appear to be a git repository
> fatal: The remote end hung up unexpectedly
> ~/Documents/workspace/test-git:11:35$

Supposedly a stupid question, but did you really do

$ cd /repos
$ mkdir someproj.git
$ git init --bare someproj.git

on the server before attempting your push operation?

I mean, Git won't auto-initialize repositories on push; it is only
capable of pushing from one existing repository to another existing
repository -- the latter might be completely empty but still it must be
a proper Git repository created by `git init`.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to