This seems like such a simple requirement that I get the feeling I am being super-stupid here, but I can't figure out how to view the history of an individual file. The problem has two parts:
I'm guessing this must be possible somehow because I have just been reading an Atlassian Git tutorial, which mentions being able to retrieve an older version of a file in such a way that it does change the current working copy of your project. The command, I believe, is:
git checkout a1e8fb5 hello.py
Any help would be very much appreciated.
Kind wishes ~ Patrick
To see all files, change the dropdown above the file list from "Pending files" to "All files". You can then use the search bar to the right to filter the list based on filename.
When you have found the file you want, right-click and choose "Log Selected...". In the Log Selected window, you can select a commit and choose "Reset to commit..." to replace your working copy with that version of the file.
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