GitHub Copilot can generate commit messages, but by default it only mimics the style of previous commits. To give Copilot more specific instructions, you can use the `github.copilot.chat.commitMessageGeneration.instructions` setting in VS Code, which accepts an array of instruction strings or a reference to a markdown file. Storing the instructions file in the workspace makes it shareable with teammates. The same feature is also available in Visual Studio via Copilot options.
13 Impressions