Using GitHub Copilot in GitHub Desktop to Automatically Generate Commit Descriptions and Customize It

27 Aug 2025
Using GitHub Copilot in GitHub Desktop to Automatically Generate Commit Descriptions and Customize It

Working with the GitHub version control system has long been a standard for developers. GitHub Desktop simplifies this process by providing a convenient graphical interface for working with repositories. One of the new and useful tools is GitHub Copilot, which can now be used directly in GitHub Desktop to generate commit descriptions. This is especially useful when you need to quickly commit changes, but do not have time to formulate a detailed comment. Copilot can analyze the changes made to the code and offer an automatically generated commit description, which saves time and makes the change history more understandable.


The auto-description feature of commits works as follows: Copilot analyzes the changes in the diff and suggests a text that reflects the essence of the edits. For example, if you added a new method or fixed a bug in a certain module, Copilot will suggest a short title and an extended description. However, developers often need to slightly adapt this text to their working style. For example, you can ask Copilot to use shorter wording, add technical details, or vice versa — make the comment less dry and more descriptive. To do this, you just need to edit the generated text manually or give Copilot specific instructions. For example, you can formulate a hint like: “Make the description more detailed” or “Write the title in imperative form.” Copilot takes into account the context and adjusts the final result, allowing you to control the tone and style of the messages.


GitHub Copilot can generate a commit description, but to make it do it differently, you need to direct it a little. Here's how you can do that:

 How to set Copilot to the desired commit description style

  1. Add a comment to the commit message Before you click "Commit", in the description field you can write something like:


    # Copilot, please describe this focusing commit on asset types and their purpose in gameplay.

    Or:

    # Copilot, summarize changes with emphasis on visual impact and UI integration.
  2. Use a template or structure If you want the descriptions to be in a specific format, you can specify:

    # Format: [Type] - [Purpose] - [Impact]
  3. Clarify the context of the changes For example:

    # These files are part of the new post-apocalyptic map background. Highlight that in the description.
  4. Redefine the style If Copilot's writing is too dry or too technical, you can ask:


    # Make the description more concise and user-facing, less technical.

  Example request for Copilot

If you want him to write something like:

"Added meta files for new MapBg sprites used in the map background. This improves the visual atmosphere and sets the scene for the next stage of UI integration."

You can write:


# Copilot, describe this commit as a visual enhancement for the map background, preparing for UI integration.
# Co-pilot, please describe all commits in the past tense

The implementation of GitHub Copilot in GitHub Desktop makes the process of maintaining the commit history easier and more productive. Automatic description generation helps save time and maintain a uniform style of change documentation. At the same time, the developer still has the ability to influence the result: change the wording, ask Copilot for a different presentation of the text, or adjust it manually. This approach combines the convenience of automation and the flexibility of personal settings, which makes working with repositories even more efficient.​

Related games

Jungle Cars Trip Multiplayer - Invite your friends!

Game: Perform tasks and rest cool. 2200 people play!

Play game
Electron in the transistor-resistor kingdom

Game: Perform tasks and rest cool. 2621 people play!

Play game
Hungry Weevils

Game: Perform tasks and rest cool. 2205 people play!

Play game

Related news

Complete Particle System Guide: Creating Fire, Smoke, and Ma...

Unity Particle System is a powerful tool for creating visual effects in real time. Particles are used in everything from...

Read more
Rendering in Unity: Pipeline Overview and Creating Realistic...

Explore Unity's rendering pipelines and learn how to create stunning, realistic water effects. A complete guide for developers seeking performance, flexibility, and visual impact.

Read more
Creating Realistic Landscapes in Unity with Terrain

Learn how to create stunning and realistic landscapes in Unity using the Terrain system. Tips, tools, and techniques for building immersive game worlds.

Read more

Comments

not will be published, only for feedback

If You have any Questions

Our top priorities are to protect your privacy, provide secure transactions, and safeguard your data. When you're ready to play, registering an account is required so we know you're of legal age and so no one else can use your account.We answer the most commonly asked questions.
Contact US