← Back
GitHub
GitHub Copilot now auto-generates pull request titles from commit messages

Generate PR Titles Automatically

GitHub Copilot now generates pull request (PR) titles on github.com, eliminating the need to manually craft descriptive titles from scratch. When opening a new PR or editing an existing title, a GitHub Copilot button appears in the title field.

How It Works

Click the Copilot button in the PR title field, and the AI will analyze your commit messages to suggest a concise, descriptive title that captures the essence of your changes. You can review, apply, or edit the suggestion before finalizing.

Getting Better Results

The quality of generated titles depends on the quality of your commit messages:

  • Use clear, descriptive commits that explain what changed
  • Avoid placeholders like WIP or fix without context
  • Group related changes in a single PR so suggestions reflect a unified theme

Vague or repetitive commit messages may result in less useful title suggestions.

Availability

This feature is generally available on github.com for any PR containing one or more commits. Join the discussion and share feedback in GitHub Community.