git: Revert individual file

git checkout -- filename

Leave a Reply

Your email address will not be published. Required fields are marked *