How to open files in from previous commit in git?

1.2k Views Asked by At

If I wanted to edit a file from a historic commit in git... how do I access the way the file was from a particular commit?

1

There are 1 best solutions below

0
On BEST ANSWER

git checkout commit_hash -- full/path/of/file