Skip to content

Add abc delete subcommand #646

Description

@drevell

TL;DR

An abc delete subcommand would allow all the files belonging to a template to be removed, without affecting neighboring files.

Approximate algorithm: for each file in the manifest, if the file hash matches the recorded hash in the manifest, delete it. If the hash doesn't match, then it has been locally modified, so raise a merge conflict. We'd also have a --force flag or something to delete in spite of merge conflicts.

Detailed design

No response

Alternatives considered

No response

Additional information

No response

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions