Contributing git hook scripts #4809

Closed
opened 2025-11-02 06:03:32 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @0x6d61726b on GitHub (Feb 7, 2020).

Description

I am asking if it is supported having a place to store git hook scripts that are working with Gitea. I had a discussion on the forum on how to force a commit user to match the user the credentials belong to and I would like to share that script. I think the contrib folder may be a good idea?

I have prepared what's in my mind on 0x6d61726b/gitea/contrib/git/git-hook-scripts.

Please let me know about your opinion.

Originally created by @0x6d61726b on GitHub (Feb 7, 2020). ## Description I am asking if it is supported having a place to store git hook scripts that are working with Gitea. I had a discussion on the forum on how to force a commit user to match the user the credentials belong to and I would like to share that script. I think the `contrib` folder may be a good idea? I have prepared what's in my mind on [0x6d61726b/gitea/contrib/git/git-hook-scripts](https://github.com/0x6d61726b/gitea/tree/master/contrib/git/git-hook-scripts). Please let me know about your opinion.
Author
Owner

@bagasme commented on GitHub (Feb 8, 2020):

@0x6d61726b OK, as contrib contains user-contributed scripts like yours.

BTW, please open the PR and we will review it.

@bagasme commented on GitHub (Feb 8, 2020): @0x6d61726b OK, as `contrib` contains user-contributed scripts like yours. BTW, please open the PR and we will review it.
Author
Owner

@0x6d61726b commented on GitHub (Feb 8, 2020):

@bagasme Thanks for the reply. I have created the PR.

@0x6d61726b commented on GitHub (Feb 8, 2020): @bagasme Thanks for the reply. I have created the PR.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4809