Gitolite和非裸回购? [英] Gitolite and non-bare repos?

查看:133
本文介绍了Gitolite和非裸回购?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我使用 inotifywait 跟踪我的存储库。它只支持平面文件,因此我使用git创建了非裸回购。

但我决定去Gitolite,看不到有关创建非裸回购的任何内容。是否有选项?

解决方案

inotifywait 等待文件更改。

如果您想监视服务器级别的更改(其中 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和非裸回购?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆