Skip to content

Improve commit message writing experience #1646

Open

Description

@sapegin

Description

Right now commit message field is very small with tiny font size which make writing a good commit message a bit painful.

image 2017-05-17 at 10 27 01 am

Proposals

Would be nice to:

  1. Have big font for a message heading field
  2. Have bigger font for a message body textarea
  3. Be able to resize commit message section
  4. Be able to make the right column bigger that it’s possible now (increase max width)

I’ll be happy to submit pull requests for any of this proposals if you agree that these ideas are good ;-)

Version

GitHub Desktop version: 0.5.5

OS version: macOS 10.12.5

Activity

  1. niik commented on May 19, 2017

    @niik
    Member

    Hey @sapegin, thanks for opening this.

    Have big font for a message heading field
    Have bigger font for a message body textarea

    I think we're gonna fold these into #1217

    Be able to resize commit message section

    I think this is a good idea. We'd need to create a version of our Resizable component that supports horizontal resize. Is this something you'd like to take a stab at?

    Be able to make the right column bigger that it’s possible now (increase max width)

    Yup, this is being tracked in #1588

  2. sapegin commented on May 20, 2017

    @sapegin
    Author

    I think this is a good idea. We'd need to create a version of our Resizable component that supports horizontal resize. Is this something you'd like to take a stab at?

    I can take a look ;-)

  3. shiftkey commented on Aug 27, 2017

    @shiftkey
    Member

    Be able to resize commit message section

    I think this is a good idea. We'd need to create a version of our Resizable component that supports horizontal resize.

    This suggestion was also proposed in #2546

  4. stephenmartindale commented on Sep 19, 2017

    @stephenmartindale

    Another idea: move the avatar to the "Commit" button would save some space for the commit message. After all, the tool-tip on that image is "Committing as balh blah" and so it sort of makes sense on the button.

  5. shiftkey commented on May 6, 2019

    @shiftkey
    Member

    @ahuth bumped this discussion in #7466 with some new ideas and inspiration from elsewhere

  6. steveward commented on Mar 4, 2020

    @steveward
    Contributor

    Feedback from @sherbb in #9212:

    image

    When you are writing a long detailed description for a commit the tiny box makes it very hard to read what you are writing. This was reported as an issue before over two years ago and has since been marked closed with no changes.

    Proposed solution

    image

    We can already scale the section of the window horizontally which helps a little, but need to be able to scale the description part vertically.
    image

    Alternatively, you could have a detail mode that goes full screen and gives you all the editing options you have in browser.

  7. martinrode commented on Oct 5, 2020

    @martinrode

    This tiny box for the commit message, the tiny font and its inability to resize encourages people to not focus on the message.

    Maybe you can add a popup dialog in a separate window where we can edit the commit message using a bigger font a resizable space?

  8. steveward commented on Jun 24, 2021

    @steveward
    Contributor

    Feedback from #12491:

    The default commit editor often gets cramped with trying to write a longer or more complex commit message.

  9. sergiou87 commented on Sep 20, 2021

    @sergiou87
    Member

    Since we're already showing the commit summary/message textfields in a dialog for squashing commits, #12989 provides some new (but related) feedback:

    Describe the feature or problem you’d like to solve

    The window to squash commit has a fixed height. Therefore, the textarea inside also has a fixed height. This makes it hard to consolidate two commit messages that are more than just a few lines.

    Proposed solution

    Idea 1: Allow resizing the whole panel, by grabbing the panel corner – which in turn should increase the size of the textare.

    Idea 2: Allow resizing of the textarea, by grabbing the corner of the textarea (like in the browser) – which in turn should resize the panel.

    Idea 3, unrelated: The initial height of the window could be bigger, depending on the amount of text in it.

    Additional context

    Bildschirmfoto 2021-09-20 um 07 35 40
  10. martinrode commented on Feb 1, 2022

    @martinrode

    Is there any progress here? As a quick solution, why don't you simply make the horizontal divider between files and message movable? If you have the vertical resize already, shouldn't take long to turn this into a horizontal resize...

  11. ThenTech commented on May 14, 2022

    @ThenTech

    Is there any progress here? As a quick solution, why don't you simply make the horizontal divider between files and message movable? If you have the vertical resize already, shouldn't take long to turn this into a horizontal resize...

    It was mentioned in the very first comment as well, to support horizontal dividers in some internal Resizable component.
    And that's now 4 years ago, I wonder why this issue isn't more prominent.

    It is very annoying to manually drag the small scrollbar to see all lines of the typed message. Being able to extend the size of the summary/message section vertically or opening it up entirely in a (resizable) modal for would be better UX.

  12. zygisk-topjohnu commented on May 16, 2022

    @zygisk-topjohnu

    Hello-world

  13. emmadbarros commented on Feb 21, 2023

    @emmadbarros

    Why isn't this issue top priority?! I got into the habit of writing my commit messages in an external text editor and then copy/paste it into the commit message box provided in GitHub desktop. However, I feel like, as one of the best git client out there, the feature of improving the git commit message experience through it should be prioritized ASAP (just like writing this comment was pleasant as the text box has awesome functionalities).

  14. DanseMacabre commented on Oct 20, 2023

    @DanseMacabre

    Some form of auto-wrap to a defined number of characters would be useful here I think, given many repos have/want the 80-char commit-message wrapping. I, too, write commits in an external file then use fold -sw 80 to make it fit the requirement.

  15. 1 remaining item

  16. steveward commented on Jun 11, 2024

    @steveward
    Contributor

    Requested in #18817.

  17. Chrysaloid commented on Jun 24, 2024

    @Chrysaloid

    To anyone in this thread:
    You can check out my issue #18843 for a hacky solution for this problem involving editing a CSS file in application's folder. And this solution wouldn't be hacky if we could add our own CSS as proposed in #2609.

    I actually think that implementing custom CSS loader is easier than adding a resize feature to the commit message panel. As easy as adding a 1 line of HTML: <link href="custom-user-css.css" rel="stylesheet">.

    A custom CSS + a CSS snippet from my issue would be a temporary solution while the resize handler would be developed.

  18. added
    not-planned
    on Jul 8, 2024
  19. steveward commented on Aug 2, 2024

    @steveward
    Contributor

    #19044 was another request for a history feature to reuse previous commit messages.

  20. steveward commented on Oct 8, 2024

    @steveward
    Contributor

    From #19367:

    Please redesign the commit input field area. It's so tiny. Even in full-screen mode, the block stays small. When there are many commits, it can be annoying to say the least to add commits.

  21. HughWarrington commented on Oct 12, 2024

    @HughWarrington

    Editing the commit description in GitHub Desktop is a bit of a miserable experience. You can add #19390 and #19387 to the list of improvements if this UI is getting an overhaul.

    I also find it necessary to use an external editor to edit commit descriptions, then paste into GitHub Desktop when I'm done.

  22. briannaneiderman commented on Jul 2, 2026

    @briannaneiderman

    Where is this in the pipeline of improvements? I don't know what the "pitch" label means, but I hope it means "highest priority".

  23. MarinaM79 commented on Jul 3, 2026

    @MarinaM79

    Yes, it corresponds to absolute reality.

  24. Starframe commented on Sep 27, 2026

    @Starframe

    Bumping this. Still having to write my commit messages in my IDE and then copying them over, because the window is so tiny.

  25. DanTup commented on Dec 1, 2026

    @DanTup

    Just coming to add my complaint about the height of the commit message box. Sometimes commit messages are long and detailed. I don't understand why I can only see four lines of text (and since it's often wrapped, it's not even four sentences), when it's rare changed file list is big enough to fill the height of the screen.

    image

    This feels like something Copilot could trivially improve and it would be a huge UX improvement? 🙃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementnot-plannedpitch

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions