git restore
say it: “GIT rih-STOR” /ɡɪt rɪˈstɔːr/
Restores file contents in the working tree or removes changes from the staging area.
What does git restore do?
git restore — Restores file contents in the working tree or removes changes from the staging area.
git restore shopping-list.txt
Level: Apprentice · More Git terms at this level
Updated