Question

We're tuning up a private git server using an online manual and now the git remote add command looks like:

git remote add local git@192.168.0.25:/var/lib/git/our-project.git

instead of

git remote add local git@192.168.0.25:our-project.git

How to set up a working directory for git server?

Was it helpful?

Solution

It turns out that I didn't install a git server for real. The server machine is used by local Git as a dumb file storage with SSH. All the clever stuff is inside of a local Git client! To use everything normally I should install some git daemon.

Git client is a clever flexible thing - it can work with Git server and if not - yeah, it just sends files through SSH.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top