I don't seem to find that option directly through Git Cola.
Don't forget that, in command line, it is very easy to checkout by date:
git checkout master@{1 days ago} -- /path/to/file
git checkout master@{2013-02-13 01:00} -- /path/to/file
If you are talking just about the previous revision
git checkout HEAD^ -- /path/to/file
I should mention, as detailed in this blog post, that @{a date}
refspec won't always work:
(won't always work) because it uses the reflog (which expires after some time).
The trick (as found on Nabble) is to lookup the revision on a certain date and check out that revision. This can be done in a single command:
git checkout `git rev-list -n 1 --before="2013-02-13 23:59" master` -- /path/to/file