di-sukharev / di-sukharev/opencommit
[Feature]: Possibility to not display "Do you want to run `git push`?" in config
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 445
- Avg merge
- 18m
- Merged PRs (30d)
- 2
Description
Description
When making multiple commit it is time consuming to skip the " Do you want to run git push?" question each time.
I can assume people (and I) doesn't want to make a push for each separate commit.
Suggested Solution
have a oco config set OCO_ASK_GIT_PUSH=true or oco config set OCO_ASK_GIT_PUSH=false (true by default)
Expected :
- show the " Do you want to run
git push?" ontrue - don't show on
false
Alternatives
No response
Additional Context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the CLI configuration handling and the code that asks whether to run git push. Add the OCO_ASK_GIT_PUSH setting with its default behavior, then exercise the CLI with both true and false to confirm the prompt is shown or skipped as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, javascript
- Domain
- cli, developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100