-
Suggestion
-
Resolution: Unresolved
-
None
-
Windows 10 64-bit.
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:
- Make it more obvious in the help files what double-clicking a commit means because I obviously completely misunderstand it.
- 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