cocmd / cocmd/hub

Add commit message as param to the git.commit-push-all flow

Open Beginner friendly
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Looking at the commit-push-all flow, it occurred to me that it's not good practice to commit without a message. I think we should add a String param for the commit message.

**Tests**
Testcases:
* `cocmd run git.commit-push-all`
* `cocmd run git.commit-push-all -m "commit message"`

**Docs**
Requires addition [Here](https://cocmd.org/docs/packages/from_hub/git)

Contributor guide

Open the contributing guide

Research direction

Start with the git.commit-push-all flow and inspect how its parameters are declared and how the commit command is invoked. Run `cocmd run git.commit-push-all` and `cocmd run git.commit-push-all -m "commit message"` to verify both cases, then update the git package documentation at the linked location to describe the parameter.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, shell
Domain
cli, documentation
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.