问题描述
目前,我使用 inotifywait
跟踪我的存储库。它只支持平面文件,因此我使用git创建了非裸回购。
但我决定去Gitolite,看不到有关创建非裸回购的任何内容。是否有选项?
等待文件更改。
如果您想监视服务器级别的更改(其中 在ssh后面运行),您需要 -hooksrel =nofollow noreferrer>添加一个非更新钩子,通常是一个收到后,它将检查由 inotifywait
监视的裸回购。
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?
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
.
这篇关于Gitolite和非裸回购?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!