This may have been answered a few times already. But I may not understand
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
Can anyone help with this scenario?
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
For more options, visit https://groups.google.com/groups/opt_out.