Skip to content

Prompt before removal #2

@mccurdyc

Description

@mccurdyc

@teto gave some great feedback in NixOS/nixpkgs#238858 (comment)

I did have some thoughts on autoremoval

  • // TODO (mccurdyc): prompt for input if there are uncommitted changes.
  • "sync --archive - archives repositories, to $GITRS_ROOT/.archived"

But I agree there is still a missing case where maybe instead of the specificity of the first point checking for uncommitted changes, you could set a --always-prompt-before-removal flag or the equivalent!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions