Gitolite and non-bare repos?

2019-06-05 11:51发布

Currently, I am tracking my repository with inotifywait. And it supports only flat files, so I created non-bare repo actually with git.

But I decided to go to Gitolite and I can’t see anything about creating non-bare repo. Is there is an option?

1条回答
2楼-- · 2019-06-05 12:18

inotifywait waits for changes to files.

If you want to monitor changes at the server level (where gitolite operates, behind ssh), you will need to add a non-update hook, typically a post-receive one, which will checkout the bare repo somewhere monitored by inotifywait.

查看更多
登录 后发表回答