GitHub Copilot może używać zdefiniowanego przez użytkownika promptu do generowania komunikatów commitów. Żeby to skonfigurować, ustaw github.copilot.chat.commitMessageGeneration.instructions w pliku settings.json w ten sposób:

{
  "github.copilot.chat.commitMessageGeneration.instructions": [
    {"text": "Write a concise commit message starting with a change tag"},
  ]
}

Możesz też użyć pliku z szablonem. W tym celu utwórz plik, na przykład commit-message-template.md, i skonfiguruj go tak:

{
  "github.copilot.chat.commitMessageGeneration.instructions": [
    {"file": "commit-message-template.md"}
  ]
}