Thanks to visit codestin.com
Credit goes to github.com

Skip to content

do not "git add" all files not yet committed #17

@Notmarrco

Description

@Notmarrco

Describe the bug
It's a bug and/or a feature request : monas bump is too aggressive in adding files to be committed. (https://github.com/frostming/monas/blob/main/src/monas/vcs.py#L72 here git add('.'))

And still, I want to commit the new version number.

For now I have to git stash before every monas bump.

If possible I need a command line option to avoid "git adding" all files , and only git add the pyproject files that were modified.

To Reproduce
If some files are not committed (and we don't want them to be) in the repo

  1. monas bump

all files are committed.

Expected behavior
Either don't add all files to git or add an option to limit git add to some files.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions