di-sukharev / di-sukharev/opencommit

[Feature]: Possibility to not display "Do you want to run `git push`?" in config

Open
#289 4 comments 0 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

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?" on true
  • don't show on false
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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.