no way to disable pull request description as default squash merge commit message details
Author: trim21Created Jan 22, 2025Updated Sep 17, 2026
Labelstype/proposal
Feature Description
I'm trying to get gitea behavior like this github option:
There is no same option in gitea so I try to use default merge message to achieve this.
The .gitea/default_merge_message/SQUASH_TEMPLATE.md allow users to override default squash message but gitea will always prepend pull request description as commit message details
for example, for pull request
fix: something
hello
and template .gitea/default_merge_message/SQUASH_TEMPLATE.md
${PullRequestTitle} (${PullRequestReference})
test
the default commit message details will always be
hello
test
instead of expected text only
Screenshots
Source: go-gitea/gitea