Revert and reword Git commits, control commit message style with Rider

Posted on by Maarten Balliauw

What else is new in Rider 2017.2 EAP? Among other improvements, Rider is now based on a more recent version of the IntelliJ platform, which gives us a set of improvements in support for version control systems.

When working with Git, we added support for reverting and rewording commits. From the Log tab in the version control tool window, it’s now possible to revert a commit or change the commit message for any commits that have not been pushed yet.
Reword Git commit

From the settings under Version Control | Commit Dialog, we can customize the rules (and inspections) applied to commit messages: do we need a blank line between the subject and the body? Is there a maximum length? Rider also provides quick-fixes for these, and reformatting code can also be done inside the commit message.
Inspections for commit message

We made some usability improvements to the Shelf tab: the Show Diff action now by default compares the shelved version to the base version instead of local (when possible). Also the raw patch content can be seen in the Preview tab.

Please download Rider 2017.2 EAP and give the new build a try!

Comments below can no longer be edited.

3 Responses to Revert and reword Git commits, control commit message style with Rider

  1. Dan Mooney says:

    October 23, 2017

    My colleague doesn’t see the “Reword” option in the context menu for PHPStorm, and the hotkeys don’t trigger the dialog for him. Does this need to be enabled?

    • Jura Gorohovsky says:

      October 23, 2017

      What version of PhpStorm does your colleague use? (AFAIK the option should be available in 2017.2+).

  2. MichaelD says:

    March 5, 2019

    Thaaaanks ! It keeps me from having my superiors slapping me on the wrists. :p

Subscribe

Subscribe to .NET Tools updates