7/6/2023 0 Comments Github desktop squash commitsDefault message: commit title and commit message (if the pull request contains a single commit), or the pull request title and number and list of commits (if the pull request contains multiple commits).Pull request title and description: pull request title and number on the first line pull request description starting on the third line.Pull request title: pull request title and number on the first line.Default message: pull request number and head branch on the first line pull request title on the third line.The user can then accept this commit message or make changes before merging. The default commit message will include the pull request's title and description: For example, assume Default to pull request title and description is selected and a user clicks to merge a pull request with this description: This selection is used to form a default commit message that gets presented to users on the pull request page when merging a pull request. How it worksįrom repository settings, a maintainer or admin can choose the default format for commit messages produced when merging pull requests: The goal is more predictable, consistent, and useful commit messages for your pull requests, which translate to a more useful Git commit history. We just shipped more options for customizing the default commit message, including using the pull request's description! You can also now customize the default commit messages for merge commit merges. In May we shipped a setting for including the pull request title in the default commit message presented to users when squash merging a pull request.
0 Comments
Leave a Reply. |