Git repository not exported: fatal: The remote end hung up unexpectedly

前端 未结 3 558
死守一世寂寞
死守一世寂寞 2021-02-07 07:55

Setting up new git installations.

On one Windows laptop, I\'m running (under cygwin):

git daemon --base-path=/cygdrive/c/work/proj/  

3条回答
  •  误落风尘
    2021-02-07 08:25

    You need to create the git-daemon-export-ok file in the .git directory. Don't commit it into the repository along with your code, but just create an empty file with that name along with the branches, hooks, info, etc. directories.

提交回复
热议问题