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?
I don't think we have something similar available on sourcetree. However, you can select the given file in a commit and from the contextual menu click on "Log Selected" to see all the various modifications of that given file. Thought this doesn't exactly do the same as what you need, if you have an idea of the date of modification, you can figure out which version to look at.
That's what I figured. It'd be a useful feature to have, to be able to browse the tree and view contents at any revision.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Feel free to submit a feature request on https://jira.atlassian.com/projects/SRCTREE/ and vote on it for inclusion in an upcoming release.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.