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

One message for a group of x files #13

Open
Andre-the-Viking opened this issue Mar 13, 2023 · 3 comments
Open

One message for a group of x files #13

Andre-the-Viking opened this issue Mar 13, 2023 · 3 comments

Comments

@Andre-the-Viking
Copy link

Would be nice to have the opportunity to configure a unique message for a batch of files.

Concrete example:

In the exampel below, I introduced a new enum and started using it inside 4 existing files. Then I would like to have a single message in a single commit that is simply "refactor: added SvgElementType constants"

So instead of:

│
◇  4 staged files:
  src/features/Picture/screens/CanvasEdit/SvgCanvasDrawMode.js
  src/features/Picture/screens/CanvasEdit/SvgViewer.js
  src/features/Picture/screens/CanvasEdit/__tests__/SvgViewer.test.js
  src/features/Picture/screens/CanvasEdit/constants.js
│
◇  📝 Commit message generated
│
└  Commit message:
——————————————————
feat(SvgCanvasDrawMode.js): add SvgElementType constant to newElement object
feat(SvgViewer.js): add support for SvgElementType constants in ELEMENT_VIEWERS map

test(SvgViewer.test.js): add tests for SvgElementType constants
feat(constants.js): add SvgElementType constants for SVG elements
——————————————————

│
◇  Confirm the commit message
│  No
│
└  ✖ process cancelled

I would like something generating:

  • git commit -m"refactor: added SvgElementType constants"
@di-sukharev
Copy link
Owner

I will think what we can do here, thanks

@di-sukharev
Copy link
Owner

that's really requested :) im also bother when having two feat(file1) feat(file1) instead of having one describing all changes.

I wont have time to adjust that in a coming week. Anyone wants to make a PR?

@github-actions
Copy link

Stale issue message

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