# Having multiple pre-receive (or other) git hooks

**URL:** <https://forum.gitea.com/t/having-multiple-pre-receive-or-other-git-hooks/1102>\
**Category:** Install/Maintain/Configure\
**Created:** [April 23, 2019, 8:56am UTC](https://forum.gitea.com/t/having-multiple-pre-receive-or-other-git-hooks/1102 "2019-04-23T08:56:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubious](https://avatars.discourse-cdn.com/v4/letter/d/f14d63/32.png) [@dubious](https://forum.gitea.com/u/dubious)\
**Post date:** [April 23, 2019, 8:56am UTC](https://forum.gitea.com/t/having-multiple-pre-receive-or-other-git-hooks/1102/1 "2019-04-23T08:56:44Z")

</div>

I have need for more than one pre-receive hook in some of my Gitea repos. While I know I can add these under a pre-receive.d directory, I don’t know how to make them viewable in the web gui. Adding hooks that become quite invisible makes the installation harder to maintain, but squeezing a bunch of very different hooks into the same script has the same effect.

Is there any best practice here? Any way to see all the hooks in the gui?

---

<div class="post-metadata">

**Author:** ![lunny](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/lunny/32/4701_2.png) [@lunny](https://forum.gitea.com/u/lunny)\
**Post date:** [May 6, 2019, 2:37am UTC](https://forum.gitea.com/t/having-multiple-pre-receive-or-other-git-hooks/1102/2 "2019-05-06T02:37:42Z")

</div>

currently not. Please send an issue on [https://github.com/go-gitea/gitea](https://github.com/go-gitea/gitea)

---

<div class="post-metadata">

**Author:** ![gabyx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/gabyx/32/638_2.png) [@gabyx](https://forum.gitea.com/u/gabyx)\
**Post date:** [September 24, 2019, 6:18pm UTC](https://forum.gitea.com/t/having-multiple-pre-receive-or-other-git-hooks/1102/3 "2019-09-24T18:18:50Z")

</div>

Maybe consider [https://github.com/rycus86/githooks](https://github.com/rycus86/githooks)  
Its a hook manager, which you can install in the gitea docker service, in each repo.
