Edit default update hook template


#1

How to edit default update hook template? (For hooks in gogs-repos/user/project.git/hooks). By default I has bash script that calls gogs. I want to expand this script.


#2

Currently there is no hook template, what Gogs shows when no hook script found is the one generate by Git command automatically.