Generate pull request titles with Copilot on the web
Source: GitHub Changelog
How it works
When you open a new PR or edit an existing PR title, you’ll see a GitHub Copilot button in the PR title field. Select this button to have GitHub Copilot suggest a concise, descriptive title based on the commit messages in your PR.
Try it out
- Open a pull request on github.com.
- In the title field, select the GitHub Copilot button.
- Review the suggested title and apply or edit it as needed.
Tips for better results
Because GitHub Copilot generates titles from your commit messages, the quality of the suggestions depends on how you write those messages.
For best results:
- Use clear, descriptive commit messages that explain what changed.
- Avoid placeholder commit messages like
WIPorfixwithout context. - Group related changes into a single PR so the suggested title reflects a single theme.
If your commit messages are vague or repetitive, GitHub Copilot may generate less useful titles.
This feature is generally available on github.com for PRs that include one or more commits.
Join the discussion within the GitHub Community.