Skip to content

Consider suggesting option -A to add and remove changed files #467

@azeemba

Description

@azeemba

The current documentation has a section on removing files. However, the documentation makes it sound like you have to know which files you want to remove in advance.

This doesn't have to be the case. The action already supports arbitrary arguments to git add. So -A/--no-ignore-removal can be used to ask git to commit any files that have been deleted in the local repository (just as it would have added any modified or new files).

I am happy to send a PR but I wanted to create an issue first to make sure my suggestion makes sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: pinnedShould not be labeled as staletype: docsDocumentation changes

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions