Untracked files should allow "discard" to delete

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Git
    • None
    • Environment:
      Windows 7 64-bit

      If I want to discard several changes, I have to perform two separate steps:

      1. Highlight only tracked files and choose "Discard"
      2. Highlight untracked files and choose "Remove"

      I think untracked files should allow "Discard" which would delete the file from disk. This way, I could highlight all files and "Discard" to clean up my working copy.

      The user already expects that "Discard" is a destructive operation, so the fact that the file is untracked shouldn't prevent SourceTree from deleting it.

              Assignee:
              Steve Streeting (Inactive)
              Reporter:
              jennings
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: