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 answers

0
Mircea On BEST ANSWER

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