in Git by

What is the Git command to blow away all the changes in a file in the working area, since the previous commit?
(1)git log filename
(2)git status filename
(3)git rm filename
(4)git checkout filename

1 Answer

0 votes
by

Answer is git checkout filename

Related questions

+1 vote
asked Jul 25, 2019 in Git by SakshiSharma
0 votes
asked Aug 16, 2020 in Git by RShastri
+1 vote
asked Jul 26, 2019 in Git Slack Integration by sheetalkhandelwal
...