i want to setup up git protocol for unauthenticated read-only access, but
git-daemon cannot work properly when i run this command
git daemon --reuseaddr --user=git-ro --base-path=/opt/git/ /opt/git/
it shows :
warning: unable to access '.git/config': Permission denied
fatal: cannot drop privileges
This may not be a shock to most, but it was a real surprise to me. I have
two machines. One at work. One at home. I am using git to keep a project in
sync between the two. I have a working directory on both machines. On my
home machine, I have a separate "repository" which is on my home machine.
If I understand correctly [*1*] what you did during this "Pull" was to get the
data from your home bare repo to your work machine for git to decode, and then
for git to feed the results back to your home working repo, so taking a full
ssh round trip (ssh encoded both ways).
That is, you maybe t
I guess I wasn't clear.
1) on work machine, do "git mv" on 55 files. This is fairly fast.
2) on work machine, do "git push" to the repository.
This pushes the data to the repository on my home machine via ssh. This
went quickly
3) on work machine, use ssh to bring up a Linux terminal session a