Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-11557

Double-clicking a previous commit should revert solution to exactly that state.

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Git
    • Windows 10 64-bit.
    • 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.

      Hi!

      I am trying to get my current solution folder to revert to exactly the state it was in some months ago. The commit I want to go back to is tagged but is not a branch.

      If I double-click the tagged commit I want to go back to, SourceTree tells me I am creating a detached HEAD but says I can subsequently create a branch so I don't lose the changes I will make.  I go ahead with this and select the 'Clean' checkbox to discard all changes.

      When I then go to look at my solution folder in Windows Explorer, it is a hotchpotch of the old and the new.  I do get back the folders that were in existence when I created the tagged version a few months ago but I also still have new folders that I have created since and did not exist back then.  This gives me zero confidence that I can go ahead doing a patch for the old software.

      I would be surprised to discover something as big as this is a bug but I have read your help on SourceTree and an obviously missing something.  I thought that double-clicking a commit would completely change the solution back to how it was at that point in time?  If double-clicking is doing what it is supposed to, I'd suggest two things:

      1. Make it more obvious in the help files what double-clicking a commit means because I obviously completely misunderstand it.
      2. Perhaps add a right-click option to do what I am trying to do.  ( I am guessing command-line Git can do what I want but the SourceTree UI is not accessing this?)

      I realise this is probably not a bug but any help would be most welcome.

       

      Kind wishes ~ Patrick

              Unassigned Unassigned
              82e381bf-5288-4729-998f-10d98bfa4e5f Deleted Account (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: