cocmd / cocmd/hub

git.commit-push flow

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Shell
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

As a developer, I rarely want to commit all the files (some files are local config, some files I added something for dev purposes, etc.). My suggestion is, letting the user select the files they want to commit.
I had in mind something similar to the selection menu we show the user in `cocmd install`
Screenshot 2023-11-04 at 12 38 58

It can list all of the changed files (I think there's a file in the .git directory that keeps track of changed files), and lets you select the ones you wanna commit.
I personally use `git add -p` that shows the changes in blocks of code, but I couldn't think of a non-complex way of doing that, so this is my compromise.

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.