#032 git restore name

Discarding changes

To discard changes to a file that is not on staging use the command git restore name

Command Description
restore Command to restore the previous state
name File name
extra information The discarded changes are not added to staging