Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,331
    • Merge requests 1,331
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #346805
Closed
Open
Issue created Nov 30, 2021 by Kai Armstrong@phikaiDeveloper

Add %{first_multiline_commit} variable squash and merge templates

Problem to Solve

With the addition of #345275 (closed) and previously !64437 (merged) that introduced support for templates for squash and merge, not all behavior of previous squash configuration is supported. Namely, the ability to use the first_multiline_commit as the commit message.

Proposal

With #345275 (closed) we now have a way to customize the default squash commit message per project.

To support the old default of using the “first multi-line commit” as the squash commit message, we should support a new variable %{first_multiline_commit} in the squash commit message template.

Assignee
Assign to
Time tracking