gitosis + git error: fatal: '/home/git/repositories/idea-generator.git' does not appear to be a git repository

前端 未结 2 1194
感动是毒
感动是毒 2021-01-06 13:40

I have tried to follow the instructions on how to use gitosis to manage my git projects. Other than one slight issue, I have installed

2条回答
  •  花落未央
    2021-01-06 14:27

    If you're able to fetch/push repos with full paths (/home/git/repositories/idea-generator.git), then you're bypassing gitosis completely, including any access checks it may impose. You may as well not be using gitosis, for all the good it is doing you.

    That is also the reason that a push did not auto-create the repo for you -- gitosis was bypassed, so no auto-create.

    Proper use of gitosis means your URLs will look like git@Frankenstein:gitosis-admin.git (since you said you managed to clone this successfully).

提交回复
热议问题