Confirm discard

{title}

This will reset the {sourceLabel} for the {scopeLabel} below.

{#if count > 1}
    {#each files.slice(0, 8) as file (`${file.old_path ?? ""}:${file.path}`)}
  • {targetPath(file)}
  • {/each} {#if files.length > 8}
  • +{files.length - 8} more
  • {/if}
{:else if count === 1} {targetPath(files[0])} {/if}

This cannot be undone. If a file only exists in your working tree, it can be deleted entirely.