February 3rd, 2025

Customize your AI-generated git commit messages

Jessie Houghton
Product Manager II

When it comes to collaborative software development, clear and effective communication is key. One area that often gets overlooked is the Git commit message. Poorly crafted commit messages can lead to confusion and inefficiencies within a team. That’s why we’ve built on the suggestions and feedback for the AI-generated commit messages, and now you can add custom prompt instructions!

Screenshot showing how you can customize the format of your git commit messages

This new capability enables you to tailor commit messages to fit your workflow and team’s standards seamlessly.

This means you have control over the number of lines, the length of the lines, and even the style of the commit message. By specifying these details, you ensure that each commit message is not only meaningful but also consistent with your team’s guidelines.

To make use of this feature, simply navigate to Tools > Options > Copilot and input your desired parameters. This customization can significantly enhance your workflow by making commit messages more informative and standardized, ultimately leading to better collaboration and less confusion.

We value your feedback

We continuously strive to improve our tools based on your feedback. Your insights are invaluable in making Visual Studio an even better platform for developers around the world. We appreciate your ongoing support and encourage you to keep sharing your thoughts with us. Let us know what you think of this feature in this suggestion ticket.

Author

Jessie Houghton
Product Manager II

Jessie is a Product Manager on the Visual Studio version control team, focusing on Git tooling and GitHub integration in the IDE.