Can I retrieve / download files from a specific commit?
I don't want to set the commit in question as current version.
If I select all the files I want, the only option on right-click is "Open Current Version".
If I select one file - which would be a pain - I have "Open Selected Version" on right-click - but nothing happens.
Why would you deny to checkout the commit as current version?
That's one of the main purposes of a VCS: Switch the version simply and fast ....
Just as a recipe for simple getting the desired version of your files:
Thanks for (an extremely) quick reply..
Perhaps I am misunderstanding, but this particular version is not the current version, and would not work, and if any other user would "pull" he would get an obsolete version.
I am tracing changes for some historic documentation - so I don't want to see this in the history or trouble other users.
Just moved to Git from SubVersion, there I could, using Tortoise, easily select a specific commit and download.. is this really not possible?
Using SourceTree, not command line..
I don't understand your question ...
Maybe you have not fully understood the concepts of a distributed VCS or you choose a wrong/misleading wording: @Valgardur Gudjonsson wrote: "easily select a specific commit and download.".
So the way to go is:
So you don't "download a commit of a single file": 1.) pull gets ("downloads") the complete repository, 2.) checking out a commit reconstructs the file constellation/versions of all files at the time of the commit.
I tried to describe the following in my answer:
Thanks for a detailed reply, but I guess I did not explain my problem well enough or perhaps I used misleading words..
I do understand how git works, this was just an apparent bug in SourceTree, and perhaps a feature request/suggestion as well.
I installed a different tool (instead of SourceTree) and my problem was solved.
Anyway, thanks for your reply.
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot