Thanks Konstatin, Magnus. I found my problem. The problem was permission issue on the folder /opt/Dropbox. The user pushing the changes didn't have write permission to the directory.
Thanks for your help. Dennis On Monday, 1 July 2013 11:57:57 UTC-4, Dennis Chang wrote: > > Hi all, > > This may have been answered a few times already. But I may not understand > the solution. > > I'm following: > http://git-scm.com/book/en/Git-on-the-Server-Setting-Up-the-Server > > to create a Git server (remote bare repository). The host containing the > Git server has got Dropbox installed. > I'd like Dropbox to be my backup of the remote repository. > > Here's my problem. > > Dropbox files is located /opt/Dropbox. Repos are located > /opt/Dropbox/repos. > I've created a soft-link from /repos to /opt/Dropbox/repos. > > I'd like to set origin to this remote repository. > > git remote add origin git@gitserver:/repos/someproj.git > git push origin master > > > 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$ > > > Can anyone help with this scenario? > Thanks, > Dennis > -- 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.