Skip to content
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

Customize commit message based on files changed #2

Closed
binyamin opened this issue Oct 30, 2020 · 2 comments
Closed

Customize commit message based on files changed #2

binyamin opened this issue Oct 30, 2020 · 2 comments

Comments

@binyamin
Copy link

This could use syntax like Changed {{num}} files. or changed {{filenames}}

@denolehov
Copy link
Collaborator

denolehov commented Oct 30, 2020

Hey, this is a very interesting idea, I am planning to add {{date}} in the next release, but having more options for template variables sounds very interesting!

Perhaps, having a list of filenames that were affected in the body of the commit by default (or as a toggle) would be more beneficial instead of {{filesnames}}, but I will include {{num}} placeholder for sure!

Thank you for your feedback :)

@denolehov
Copy link
Collaborator

{{numFiles}} placeholder is available in v1.3.0! ❤️

I will add {{filesnames}} in commit body a bit later :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants