How do I recover from pushing a gitosis.conf file with parsing errors due to line breaks?

前端 未结 2 1172
清歌不尽
清歌不尽 2021-02-19 01:10

I have successfully set up gitosis for an Android mirror (containing multiple git repositories). While adding a new .git path following writable= in gitosis.conf I managed to in

2条回答
  •  庸人自扰
    2021-02-19 02:03

    I do this all the time. :-) The answer is to log on to the gitosis server and edit the copy of the config file there. In the home directory of the user that owns the gitosis instance there should be a link named .gitosis.conf (it actually points to gitosis-admin.git/gitosis.conf). Edit that file and fix the problems there; then, when you push next, it will be fine.

提交回复
热议问题