di-sukharev / di-sukharev/opencommit

[Feature]: Add a option to edit the commit message upon it's generation

Open
#268 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
7.5k
Forks
445
Avg merge
18m
Merged PRs (30d)
2

Description

Description

It'd be cool if we could edit the commit message right from the terminal after it's been generated.

Suggested Solution

Provide an option in addition with accept and reject commit message called edit which would open up the user's default editor where changes can be made.

Alternatives

No response

Additional Context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the terminal flow that presents the generated message with accept and reject, then trace how the selected message becomes a commit. Add an edit choice that opens the user's default editor and uses the saved text as the commit message; verify the accept, reject, and edit paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, javascript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.