Briefly: What's the SourceTree equivalent of:
git show 946a759:File.h
More thorougly:
File.h did not change in commit 946a759, I just want to see the contents of the file as it was at the time of that commit.
I do know that I could change the Log View - Working Copy view to show all of my files, find the file in the list, right-click on it and choose "Log Selected", find the commit (or the next oldest one) but
So what I'd like to do is be in the Log View with my master branch selected in the left sidebar, find the particular commit in the tree, and then do the equivalent of git show rev:AnyFileIWant. I'd be just fine typing in the path to the file.
I can't seem to find a way to do this?
It's not possible in SourceTree, however your IDE might be able to do it:
Right-click your commit in the VCS view (alt + 9) and select Show Repository at Revision.
A repositories view will pop up right where your project view was. You can now open any file at the time of the revision / commit. Files are read-only.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With