Skip to content

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

Closed

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.

Activity

  1. added
    type: question
    on Jan 2, 2023
  2. EndBug commented on Jan 2, 2023

    @EndBug
    Owner

    Seems like a good idea! Yeah, it would be great if you could submit a PR ❤️

  3. added a commit that references this issue on Jan 3, 2023
    c59a79e
  4. github-actions commented on Jan 23, 2023

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  5. added
    status: stale
    on Jan 23, 2023
  6. added
    status: pinned
    type: docs
    and removed
    type: question
    status: stale
    on Jan 23, 2023
  7. added a commit that references this issue on Jan 23, 2023
    c7eeaf4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: pinnedtype: docs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions