shiftkey / desktop

Fork of GitHub Desktop to support various Linux distributions
MIT License
6.73k stars 510 forks source link

Summary Prefix with branch name #1110

Open Madeindreams opened 1 month ago

Madeindreams commented 1 month ago

The feature request

The feature allow the user to have his commit summary message prefixed with the branch name.

eg; QA-1234 is a ticket number that is usually used to create the branch, feature/QA-1234

Jira will also count the commits for each tickets providing they also have the reference to the ticket.

feature/QA-1234 - My commit message

By prefixing the summary with the branch name we automate the process.

image image

Proposed solution

This will help the users to keep track of their commit count on jira.

Additional context

There is a PR where I have started the implementation but there is something that is not right.

I'm expecting these settings to be applied on a per repository basis. In order to have the prefix populated when i first open the app, i must switch repository or use crtl-alt-r

Screencast from 2024-08-14 10:31:33 PM.webm

Madeindreams commented 1 month ago

https://github.com/shiftkey/desktop/pull/1111