-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for commit templates #8698
Comments
@StefKors Thank you for sharing your proposal. I'd imagine this would be used like the "saved replies" feature in this commenting toolbar, which I find it rather useful. It sounds like a lightweight version is honoring the Leaving this open for now so others can weigh in. |
I think indeed honoring the |
@tierninho If nobody picks this up I would love to take a stab at it. Any pointers or similar features that already have been implemented into the desktop app? What would be the way in which the codebase interacts with the git |
@StefKors We haven't attached a cc @billygriffin for thoughts. |
This was requested in #9057 by @HEBOS:
|
@tierninho I certainly think to start with, the lightweight version would be a good idea. Simply just pre-populating the commit window with editable, formatted headers would be enough to provide guidance to the user of the expected format. Maybe down the line, if there's a call for it, a more robust solution could be found to force the user to populate the necessary sections of the commit I appreciate the same thing can be achieved by simply copy and pasting the template to the commit window and completing the relevant sections, but this fairly simple change would remove the risk of the user forgetting and leads to more consistent commits making everyone's life easier |
Just wondered if there had been any further thoughts on this @tierninho @billygriffin ? |
Process done thankyou
…On Fri, Sep 10, 2021, 5:07 PM Ege Eke ***@***.***> wrote:
Is there any progress for this issue? 👀
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8698 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMW3FEHFPFKPMJP2IYFIBP3UBHUX5ANCNFSM4JRHJDWA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
👍 - our team has a template with a few Conventional Commits prefixes and descriptions. We've got team members who prefer Github Desktop over Git Extensions and other git tools with template support, but they miss this feature. |
Also missing this feature in desktop, any news about it? |
Adding this feature will be really helpful. Looking forward to it. |
Are there any docs to use this feature? |
I'm astounded that this hasn't been implemented yet, especially given @StefKors offered to pick it up In Jan 2020 and was told to hold tight. It's a simple feature request to just honour the |
+1 |
3 similar comments
+1 |
+1 |
+1 |
really hoping this happens. |
+1 |
Still waiting for this 👀 |
Requested in #16184. |
As someone who contributes to lots of different projects which have different conventions/rules/expectations/requirements around commit message formats and structure, having this would be really useful and could save loads of time in having to go back and change past commit messages (that are only validated when part of a PR) |
I'm also interested in this feature. |
Is there any update on this? |
This isn't on our roadmap at this time (we're a small team and have to prioritize accordingly), but thanks for letting us know you'd like to see this implemented. |
Our team also uses Conventional Commits (we currently use Commit Lint as a stand-in, until a feature like the proposed one exists natively in GitHub Desktop). |
This would be an awesome feature! Hoping it can be added to the roadmap at some point. |
P L E A S E |
@steveward Understandable, but given that the community offered to implement it as far back as 2020 (Ref), and was told to 'hold tight' (Ref) can the See also: |
+1. Since our team has implemented the great policy of using Conventional Commits I can't use GitHub Desktop which I really liked. And, Yes @0xdevalias, great suggestion!
|
Um...What about Github Desktop prevents you from using the Conventional Commits format? I use conventional commits myself. |
Sorry, to be more correct, it does not PREVENT, but it doesn't provide a set of templates and interactive wizard-like interface like |
Describe the feature you’d like to solve
I would like to add support for git templates. In some Open Source projects and organisations formatting of commit messages are important.
Proposed solution
Because this is a feature for more experienced users I suggests that github desktop honors the template in the
.gitconfig
. It should just prefill the body input field in the github desktop commit editor.reference:
https://github.com/torvalds/subsurface-for-dirk/blob/a48494d2fbed58c751e9b7e8fbff88582f9b2d02/README#L88
The text was updated successfully, but these errors were encountered: