It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
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..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
.. or perhaps I didn't get your question correctly ...
Anyway: your problem is solved!
Cheers
Johannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Valgardur Gudjo : Can you please advise how you solved this problem. I reckon I have the same issue. Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is a clean and easy way to do this in Sourcetree without checking out:
Done!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.