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
  • #26303
Closed
Open
Issue created Jan 23, 2019 by Natalia Tepluhina@ntepluhinaMaintainer

Add variable to support adding all commits to squash template

Problem to solve

When editing the squash commit message, the user should be able to have a review of the commit messages for the commits that will be squashed and be able edit them.

When squashing commits prior to merging, it can be helpful to include the details of all the commits that will be squashed so that users can understand the complete context of the change.

Proposal

Create a new variable %{all_commit_messages} for squash commit templates that adds the commits on squash.

Additional Details

The format of the included commits should be:

* Commit title 1

Commit body 1

* Commit title 2

Commit body 2
Edited Feb 16, 2022 by Kai Armstrong
Assignee
Assign to
Time tracking