Auto include last branch specific commit message

Answered

For work I'm currently switching a lot between different branches however each time I make a commit id like for raider to auto include the last commit message that was made in the specific branch since our commit messages follow a somewhat specific template and always need to include storyboard numbers and such. However it auto-includes/shows only the very last commit message independent of what branch im currently on so I always need to write them from scratch.

Maybe an example would make it easier to understand. Lets say im working on 2 different branches. Because Im waiting on our client to answer some questions to continue development I can work on another branch in the mean time.

 

I make a commit on branch 1 with msg "branch 1 commit 1".

Continue developing on branch 2. Make a commit on branch 2, rider auto includes commit message "branch 1 commit 1". Okay thats fine it was the only commit thus far. I write "branch 2 commit 1".

Switch back to working on branch 1. Make a commit on branch 1 and it gives me "branch 2 commit 1" as the message but I want it to be "branch 1 commit 1" since I dont care what was the message included in branch 2 but It would be useful to auto-include the last commit on the current branch.

 

Is this something thats even possible? I found nothing even close to relevant when googling this question.

0
1 comment

Hello Villem,

Thank you for your feedback.

We already have a feature request for this. Please, feel free to upvote this issue: IDEA-118316.

Have a good day!

0

Please sign in to leave a comment.