Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-2090

Allow discarding file to be undone

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • General
    • None
    • mac os x 10.9.1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      It would be good if 'discard' operations where undoable.

      I was just preparing some files to commit, and accidentally hit the 'discard' button when I meant to hit 'discard hunk', and appear to have now permanently lost my changes (well, until I go delving through time machine).

      Apparently I'm not the first person to do this:

      http://stackoverflow.com/questions/11418429/how-to-undo-discard-if-not-committed

      If it's not possible/easy to undo, leaving a copy of the file somewhere it could be recovered from manually would be useful (unless that already happens and I just don't know where to look!).

            Unassigned Unassigned
            ec853f785405 Joseph Heenan
            Votes:
            14 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: