Undo changes for files that will be overwritten by checkout only when changing branches

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: General
    • None

      When I am in a given branch and I want to change to another, the program informs me that I can undo all changes with the "Clean" chackbox:

      If I do not check it, and there are files that have changes and conflict with the files in the destination checkoout, I get the following error message, for instance:

      Given that the program already knows the files that have change, I think it woulb be great for it to have another option that reads "Undo changes ONLY for conflicted files" (or something like that). If the user checks that option, the program runs the "git undo" command in each of then before doing the checkout. 

      That way, I as a user, don't have to find each file and undo it before been allowed to do the intended checkout.

       

      Could that process be added to SourceTree in your opinion?

       

       

      Thank you very much.

      Regards.

      Ariel.

       

       

       

              Assignee:
              Unassigned
              Reporter:
              Alejandro Ariel Abaca
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: