Back

How to revert specific file after commit from commit

Copy Below Code View As A Text File Show Text Only Show API Edit Code
                            

git checkout [commit ID]~1 -- path/to/file Like: git checkout 1c98151~1 -- yarn.lock