sublime_merge
sublime_merge copied to clipboard
Add equivalent of `git checkout fa1afe1 -- .`
Problem description
Sometimes, I want to restore the working tree files in a different commit (fa1afe1) without changing HEAD
Preferred solution
When right-clicking a commit add a 'Restore this commit's files' that effectively executes git checkout fa1afe1 -- ..
Alternatives
Instead of this specific case you could even add a 'Checkout commit for path spec' menu where a user can specify the path spec they would like.