문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top