From question: 'receive-pack': service not enabled for './.git'
it seems like the line
git daemon --reuseaddr --base-path=. --export-all --verbose --enable=receive-pack
is needed to start a git daemon? What is the cleanest command that can start a daemon?
I don't understand why such a long line is need to start the server, rather than just git server
, just like rails using rails s
to start a server. It will be silly for rails to start a server using
rails s --yes-make-it-public --yes-accept-http-request --base-directory=.