Open vthemelis opened 2 months ago
Problem description
Sometimes, I want to restore the working tree files in a different commit (fa1afe1) without changing HEAD
fa1afe1
HEAD
Preferred solution
When right-clicking a commit add a 'Restore this commit's files' that effectively executes git checkout fa1afe1 -- ..
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.
Problem description
Sometimes, I want to restore the working tree files in a different commit (
fa1afe1
) without changingHEAD
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.